Restream · API Governance Rules
Restream API Rules
Spectral linting rules defining API design standards and conventions for Restream.
8 Rules
error 4
warn 4
Rule Categories
restream
Rules
error
restream-operation-id-required
All operations must have an operationId for SDK and documentation generation.
$.paths[*][get,post,put,patch,delete]
error
restream-operation-summary-required
All operations must have a summary for developer experience.
$.paths[*][get,post,put,patch,delete]
warn
restream-summary-title-case
Operation summaries must use Title Case per Restream API style.
$.paths[*][get,post,put,patch,delete].summary
error
restream-tags-required
All operations must be tagged for grouping in the developer portal.
$.paths[*][get,post,put,patch,delete]
warn
restream-oauth2-scopes-documented
OAuth2-secured operations must declare required scopes.
$.paths[*][get,post,put,patch,delete].security[*].OAuth2
error
restream-response-200-required
All operations must define a 200/201 success response.
$.paths[*][get,post,put,patch,delete].responses
warn
restream-path-kebab-case
API paths must use kebab-case for multi-word segments.
$.paths[*]~
warn
restream-v2-prefix
All paths must be prefixed with /v2 or use the OAuth token path.
$.paths[*]~
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/restream-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.