ScanSource · API Governance Rules
ScanSource API Rules
Spectral linting rules defining API design standards and conventions for ScanSource.
10 Rules
error 4
warn 6
Rule Categories
scansource
Rules
error
scansource-customer-number-required
Customer number must be provided for all customer-scoped operations
$.paths[*][get,post,delete]
error
scansource-api-key-security
All ScanSource API operations must require the subscription key
$.paths[*][get,post,put,patch,delete]
warn
scansource-pagination-parameters
List operations should support pagination via page and pageSize parameters
$.paths[*list*,*summary*][get]
warn
scansource-batch-size-limit
Batch requests must not exceed 40 items
$.paths['/product/availability','product/pricing'].post.requestBody.content.application/json.schema.properties.items
warn
scansource-customer-number-path
Customer-scoped paths should include customerNumber as a path parameter
$.paths[*/{customerNumber}*]
warn
scansource-response-envelope
List responses should include totalCount for pagination support
$.components.schemas[*Response]
error
scansource-date-filter-format
Date filter parameters must use ISO 8601 date format
$.paths[*][get].parameters[?(@.name == 'fromDate' || @.name == 'toDate')]
error
scansource-operation-ids
All operations must have operationId in camelCase
$.paths[*][get,post,put,patch,delete]
warn
scansource-tags-required
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
warn
scansource-summaries-title-case
Operation summaries must use Title Case
$.paths[*][get,post,put,patch,delete].summary
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/scansource-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.