Twitch · API Governance Rules
Twitch API Rules
Spectral linting rules defining API design standards and conventions for Twitch.
10 Rules
error 2
warn 4
Rule Categories
twitch
Rules
warn
twitch-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
hint
twitch-summary-provider-prefix
Operation summaries should be prefixed with the API product name (e.g. "Twitch")
$.paths[*][*].summary
hint
twitch-requires-client-id-parameter
Twitch operations should reference the clientId parameter
$.paths[*][get,post,patch,put,delete].parameters[*]
warn
twitch-security-defined
All operations should declare security requirements
$.paths[*][get,post,patch,put,delete]
error
twitch-no-basic-auth
Twitch does not use HTTP Basic authentication
$.components.securitySchemes[*]
warn
twitch-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
twitch-tags-title-case
Tags must use Title Case
$.tags[*].name
error
twitch-success-response-defined
Operations must define a success response
$.paths[*][get,post,patch,put,delete].responses
hint
twitch-paths-kebab-case
Path segments must use snake_case or kebab-case (Twitch uses snake_case)
$.paths
hint
twitch-pagination-first-parameter
Collection GET endpoints should support pagination via 'first' and 'after' parameters
$.paths[*][get]
Spectral Ruleset
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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/twitch-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.