StreamYard · API Governance Rules
StreamYard API Rules
Spectral linting rules defining API design standards and conventions for StreamYard.
9 Rules
error 1
warn 6
info 2
Rule Categories
streamyard
Rules
warn
streamyard-operation-ids-camel-case
StreamYard API operationIds use camelCase (e.g., listBroadcasts, createBroadcast, getBroadcast).
$.paths[*][*].operationId
warn
streamyard-tags-title-case
All OpenAPI tags must use Title Case (e.g., 'Broadcasts', 'Destinations', 'Recordings').
$.tags[*].name
warn
streamyard-oauth2-security
StreamYard API requires OAuth 2.0 authentication. The security scheme must be streamyardBearerAuth using the authorization code flow.
$.components.securitySchemes
warn
streamyard-broadcast-id-path-param
Broadcast-specific endpoints use broadcastId as the path parameter name for consistency.
$.components.parameters.BroadcastId
info
streamyard-delete-returns-204
DELETE operations in the StreamYard API return 204 No Content on successful deletion.
$.paths[*][delete].responses
warn
streamyard-broadcast-status-enum
Broadcast status must be one of the defined enum values: created, live, completed, cancelled.
$.components.schemas.Broadcast.properties.status
warn
streamyard-platform-enum
Destination platform must be one of the supported streaming platforms: youtube, facebook, linkedin, twitter, twitch, rtmp.
$.components.schemas.Destination.properties.platform
info
streamyard-pagination-camel-case
StreamYard uses camelCase pagination parameters: page and perPage (not per_page or pageSize).
$.paths[*][get].parameters[*].name
error
streamyard-operation-summaries-present
All operations must have a summary in Title Case format.
$.paths[*][get,post,put,patch,delete]