Storyblok · API Governance Rules
Storyblok API Rules
Spectral linting rules defining API design standards and conventions for Storyblok.
10 Rules
error 2
warn 6
info 2
Rule Categories
storyblok
Rules
warn
storyblok-space-id-path-param
Management API endpoints must include space_id as a path parameter
$.paths[?(@property.match(/\/spaces\//))].*.parameters[?(@.in == 'path')]
error
storyblok-https-only
All server URLs must use HTTPS
$.servers[*]
error
storyblok-operation-ids
All operations must have an operationId
$.paths.*.*
warn
storyblok-operation-summary
All operations must have a summary
$.paths.*.*
warn
storyblok-tags-required
All operations must have at least one tag
$.paths.*.*
warn
storyblok-401-response
All operations should define a 401 Unauthorized response
$.paths.*.*.responses
warn
storyblok-json-content-type
POST and PUT operations must accept application/json content type
$.paths.*[post,put].requestBody.content
info
storyblok-pagination-params
List operations should support pagination parameters
$.paths[?(@property.match(/stories$|components$|assets$|datasources$|collaborators$/))].get.parameters[*]
warn
storyblok-description-required
All parameters must have descriptions
$.paths.*.*.parameters[*]
info
storyblok-version-in-server
Server URLs should include API version
$.servers[*]
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/storyblok-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.