Rollbar · API Governance Rules
Rollbar API Rules
Spectral linting rules defining API design standards and conventions for Rollbar.
10 Rules
error 3
warn 6
info 1
Rule Categories
rollbar
Rules
error
rollbar-has-access-token-security
All Rollbar API operations must reference the accessToken security scheme
$.paths[*][get,post,put,patch,delete]
warn
rollbar-operation-id-camel-case
Rollbar operationIds use camelCase naming
$.paths[*][get,post,put,patch,delete].operationId
error
rollbar-operation-summary-required
All Rollbar API operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
rollbar-summary-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
warn
rollbar-consistent-path-structure
Rollbar path segments must use lowercase kebab-case
$.paths[*]~
warn
rollbar-tags-defined
All operations should reference defined tags
$.paths[*][get,post,put,patch,delete]
warn
rollbar-success-response-schema
Successful responses should include a schema
$.paths[*][get,post,put,patch,delete].responses[?(@property >= '200' && @property < '300')]
info
rollbar-error-responses-defined
Operations should document standard error responses
$.paths[*][get,post,put,patch,delete]
error
rollbar-request-body-content-type
Request bodies must specify application/json content type
$.paths[*][post,put,patch].requestBody.content
warn
rollbar-info-complete
API info section must include contact and terms
$.info
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/rollbar-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.