GoToWebinar · API Governance Rules

GoToWebinar API Rules

Spectral linting rules defining API design standards and conventions for GoToWebinar.

8 Rules error 4 warn 3 info 1
View Rules File View on GitHub

Rule Categories

gotowebinar

Rules

error
gotowebinar-base-url
Server URL must use the documented GoToWebinar V2 base URL.
$.servers[*].url
error
gotowebinar-oauth-token-url
OAuth flows must point at the new GoTo authentication service (post-2025-09-30 migration).
$.components.securitySchemes[?(@.type == 'oauth2')].flows..tokenUrl
error
gotowebinar-oauth-authorize-url
OAuth authorize URL must use the new authentication service.
$.components.securitySchemes[?(@.type == 'oauth2')].flows..authorizationUrl
warn
gotowebinar-operation-summary-title-case
Operation summaries should be Title Case.
$.paths.*.*.summary
warn
gotowebinar-tag-title-case
Tag names must be Title Case (e.g. Webinars, Co-Organizers).
$.tags[*].name
warn
gotowebinar-operation-id-camel-case
operationId should be camelCase (e.g. createWebinar, listSessionAttendees).
$.paths.*.*.operationId
info
gotowebinar-organizer-path-prefix
REST resources are scoped under /organizers/{organizerKey}/...
$.paths[?(@property != '/webhooks' && @property != '/webhooks/secretkey' && @property != '/userSubscriptions' && !@property.startsWith('/webhooks/') && !@property.startsWith('/userSubscriptions/'))]~
error
gotowebinar-webhook-event-names
Webhook eventName enums must use the four documented event types.
$.components.schemas..[?(@.eventName)].eventName.enum

Spectral Ruleset

Raw ↑
extends:
  - spectral:oas
documentationUrl: https://developer.goto.com/GoToWebinarV2
description: Spectral ruleset for GoToWebinar OpenAPI specifications. Enforces conventions observed in the V2 REST and Webhooks APIs published at developer.goto.com.
rules:
  gotowebinar-base-url:
    description: Server URL must use the documented GoToWebinar V2 base URL.
    severity: error
    given: "$.servers[*].url"
    then:
      function: pattern
      functionOptions:
        match: "^https://api\\.getgo\\.com/G2W/rest/v2$"

  gotowebinar-oauth-token-url:
    description: OAuth flows must point at the new GoTo authentication service (post-2025-09-30 migration).
    severity: error
    given: "$.components.securitySchemes[?(@.type == 'oauth2')].flows..tokenUrl"
    then:
      function: pattern
      functionOptions:
        match: "^https://authentication\\.logmeininc\\.com/oauth/token$"

  gotowebinar-oauth-authorize-url:
    description: OAuth authorize URL must use the new authentication service.
    severity: error
    given: "$.components.securitySchemes[?(@.type == 'oauth2')].flows..authorizationUrl"
    then:
      function: pattern
      functionOptions:
        match: "^https://authentication\\.logmeininc\\.com/oauth/authorize$"

  gotowebinar-operation-summary-title-case:
    description: Operation summaries should be Title Case.
    severity: warn
    given: "$.paths.*.*.summary"
    then:
      function: pattern
      functionOptions:
        match: "^([A-Z][a-zA-Z0-9]*)(\\s+[A-Za-z0-9-]+)*$"

  gotowebinar-tag-title-case:
    description: Tag names must be Title Case (e.g. Webinars, Co-Organizers).
    severity: warn
    given: "$.tags[*].name"
    then:
      function: pattern
      functionOptions:
        match: "^[A-Z][A-Za-z0-9-]*(\\s+[A-Z][A-Za-z0-9-]*)*$"

  gotowebinar-operation-id-camel-case:
    description: operationId should be camelCase (e.g. createWebinar, listSessionAttendees).
    severity: warn
    given: "$.paths.*.*.operationId"
    then:
      function: pattern
      functionOptions:
        match: "^[a-z][a-zA-Z0-9]*$"

  gotowebinar-organizer-path-prefix:
    description: REST resources are scoped under /organizers/{organizerKey}/...
    severity: info
    given: "$.paths[?(@property != '/webhooks' && @property != '/webhooks/secretkey' && @property != '/userSubscriptions' && !@property.startsWith('/webhooks/') && !@property.startsWith('/userSubscriptions/'))]~"
    then:
      function: pattern
      functionOptions:
        match: "^/organizers/\\{organizerKey\\}"

  gotowebinar-webhook-event-names:
    description: Webhook eventName enums must use the four documented event types.
    severity: error
    given: "$.components.schemas..[?(@.eventName)].eventName.enum"
    then:
      function: schema
      functionOptions:
        schema:
          type: array
          items:
            type: string
            enum: [registrant.added, registrant.joined, webinar.created, webinar.changed]

Work with this as data

Every ruleset here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/gotowebinar-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.