Loughborough University · API Governance Rules
Loughborough University API Rules
Spectral linting rules defining API design standards and conventions for Loughborough University.
5 Rules
warn 4
info 1
Rule Categories
loughborough
Rules
warn
loughborough-operation-description
Every operation should have a description so consumers understand the research-repository call.
$.paths[*][get,post,put,delete,patch]
warn
loughborough-operation-tags
figshare operations are grouped by resource tag (articles, authors, collections, etc.).
$.paths[*][get,post,put,delete,patch]
info
loughborough-public-research-paths
Public read endpoints should sit under a known figshare research-output collection.
$.paths[*]~
warn
loughborough-article-identifiers
Article schemas should expose id, doi and handle persistent identifiers.
$.components.schemas.Article.required
warn
loughborough-server-figshare-v2
Servers should target the figshare v2 API base URL.
$.servers[*].url