University of Edinburgh · API Governance Rules
University of Edinburgh API Rules
Spectral linting rules defining API design standards and conventions for University of Edinburgh.
6 Rules
error 2
warn 4
Rule Categories
datashare
Rules
warn
datashare-info-contact
API info should include a contact.
$.info
error
datashare-https-server
Servers must use HTTPS.
$.servers[*].url
warn
datashare-operation-id
Every operation should declare an operationId.
$.paths[*][get]
warn
datashare-object-has-uuid
DSpace object schemas should expose a uuid property.
$.components.schemas[Community,Collection,Item,Bitstream].properties
warn
datashare-uuid-path-params
Resource id path parameters should be typed as uuid strings.
$.components.parameters[communityId,collectionId,itemId,bitstreamId].schema
error
datashare-read-only
Public DataShare REST API is read-only; only GET operations are expected.
$.paths[*]