University of British Columbia · API Governance Rules
University of British Columbia API Rules
Spectral linting rules defining API design standards and conventions for University of British Columbia.
5 Rules
error 1
warn 3
info 1
Rule Categories
ubc
Rules
warn
ubc-info-version-present
API info object should declare a version (Dataverse release the spec was generated from).
$.info
error
ubc-server-https
Server URLs should use HTTPS for the public Abacus endpoint.
$.servers[*].url
warn
ubc-paths-api-v1-prefix
Dataverse REST paths are versioned under /api/v1/.
$.paths
warn
ubc-operation-id-present
Every operation should carry an operationId for client generation.
$.paths[*][get,post,put,delete,patch]
info
ubc-dataset-uses-persistent-id
Dataset access patterns should support persistentId (DOI/Handle) addressing.
$.paths[?(@property.match(/persistentId|globalId/i))]