RMIT University · API Governance Rules
RMIT University API Rules
Spectral linting rules defining API design standards and conventions for RMIT University.
6 Rules
error 1
warn 3
info 2
Rule Categories
rmit
Rules
warn
rmit-figshare-info-contact
API info object should provide a contact for the Figshare-backed RMIT repository.
$.info
error
rmit-figshare-servers-https
All server URLs must use HTTPS (api.figshare.com is HTTPS-only).
$.servers[*].url
warn
rmit-figshare-article-id-integer
Article identifiers are integers across the Figshare API.
$.components.schemas.Article.properties.id
info
rmit-figshare-url-fields-format
Public URL fields on Article objects should declare a url/uri format.
$.components.schemas.Article.properties[?(@property.match(/^url/))]
warn
rmit-figshare-operation-tags
Every operation should be tagged so endpoints group by Figshare resource (articles, collections, etc.).
$.paths[*][get,post,put,delete]
info
rmit-figshare-search-pagination
Search request bodies should support page/page_size pagination as defined by CommonSearch.
$.components.schemas.CommonSearch.properties