Warner Bros. Discovery · API Governance Rules
Warner Bros. Discovery API Rules
Spectral linting rules defining API design standards and conventions for Warner Bros. Discovery.
10 Rules
error 6
warn 4
Rule Categories
wbd
Rules
error
wbd-operation-ids-required
All operations must have an operationId
$.paths[*][*]
warn
wbd-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
wbd-operation-tags-required
All operations must have at least one tag
$.paths[*][*]
error
wbd-paths-versioned
All API paths must include a version prefix (/v1/, /v2/, etc.)
$.paths
error
wbd-oauth2-security
WBD APIs use OAuth2 client credentials for authentication
$.components.securitySchemes
error
wbd-response-200-or-201
All operations must define a successful 2xx response
$.paths[*][*].responses
warn
wbd-error-responses-defined
Operations should define 401 and 404 error responses
$.paths[*][*].responses
error
wbd-info-description
Info object must have a description
$.info
warn
wbd-response-schema
Successful responses must define a schema
$.paths[*][*].responses['200'].content['application/json']
warn
wbd-pagination-parameters
Collection GET endpoints should support limit and offset parameters
$.paths[*].get.parameters[*].name
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/warner-bros-discovery-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.