Warner Music Group · API Governance Rules
Warner Music Group API Rules
Spectral linting rules defining API design standards and conventions for Warner Music Group.
10 Rules
error 6
warn 3
info 1
Rule Categories
wmg
Rules
error
wmg-operation-ids-required
All operations must have an operationId
$.paths[*][*]
warn
wmg-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
wmg-operation-tags-required
All operations must have at least one tag
$.paths[*][*]
error
wmg-paths-versioned
All API paths must include a version prefix
$.paths
error
wmg-oauth2-required
WMG API uses OAuth2 authentication
$.components.securitySchemes
error
wmg-response-success-defined
Operations must define a successful response
$.paths[*][*].responses
warn
wmg-response-401-defined
Protected operations must define a 401 response
$.paths[*][*].responses
error
wmg-catalog-search-params
Catalog search must have at least a query parameter
$.paths['/v1/catalog/search'].get.parameters
info
wmg-isrc-path-pattern
Track endpoints should use ISRC as the path parameter
$.paths./v1/tracks/{isrc}.get.parameters[*]
warn
wmg-pagination-on-lists
List operations should support limit and offset parameters
$.paths[*].get.parameters[*].name