United States Army Corps of Engineers · API Governance Rules
United States Army Corps of Engineers API Rules
Spectral linting rules defining API design standards and conventions for United States Army Corps of Engineers.
9 Rules
error 1
warn 7
info 1
Rule Categories
cwms
Rules
warn
cwms-office-code-documented
Office query parameters should document the three-character USACE district code convention
$.paths..parameters[?(@.name == "office")].description
warn
cwms-timeseries-name-format
Time series name parameters should reference CWMS identifier format
$.paths..[?(@.name == "name" && @.in == "query")].description
info
cwms-pagination-documented
Paginated endpoints should document page and page-size parameters
$.paths..get.parameters[?(@.name == "page")]
warn
cwms-unit-enum-values
Unit parameters should have clear enum values
$.paths..parameters[?(@.name == "unit")].schema
warn
cwms-timestamp-format-documented
Date/time parameters should reference ISO 8601 or epoch milliseconds
$.paths..parameters[?(@.name == "begin" || @.name == "end")].description
warn
cwms-response-schemas-defined
All GET responses should reference a schema
$.paths..get.responses.200.content.application/json
error
cwms-operation-ids-present
All operations must have operationIds
$.paths[*][*]
warn
cwms-tags-present
All operations should have at least one tag
$.paths[*][*]
warn
cwms-description-present
All operations should have descriptions
$.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/cwms-data-api-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.