RWTH Aachen University · API Governance Rules

RWTH Aachen University API Rules

Spectral linting rules defining API design standards and conventions for RWTH Aachen University.

6 Rules warn 5 info 1
View Rules File View on GitHub

Rule Categories

coscine

Rules

warn
coscine-info-contact
Info object should include a contact (Coscine Team servicedesk).
$.info
warn
coscine-bearer-security
Coscine secures operations with the Bearer (API token) security scheme.
$.components.securitySchemes
warn
coscine-paths-versioned
All Coscine API paths are versioned under /api/v2/.
$.paths.*~
warn
coscine-operation-tags
Every operation should be tagged for grouping (Project, Resource, etc.).
$.paths[*][get,post,put,patch,delete]
warn
coscine-operation-id
Every operation should declare an operationId.
$.paths[*][get,post,put,patch,delete]
info
coscine-response-envelope
Schemas wrapping a single object use the "Response" suffix; paged lists use "PagedResponse".
$.components.schemas

Spectral Ruleset

Raw ↑
---
# Spectral ruleset encoding patterns observed in the Coscine Web API
# OpenAPI description (https://coscine.rwth-aachen.de/coscine/api/swagger/v2/swagger.json).
formats:
  - oas3
rules:
  coscine-info-contact:
    description: Info object should include a contact (Coscine Team servicedesk).
    severity: warn
    given: $.info
    then:
      field: contact
      function: truthy

  coscine-bearer-security:
    description: Coscine secures operations with the Bearer (API token) security scheme.
    severity: warn
    given: $.components.securitySchemes
    then:
      field: Bearer
      function: truthy

  coscine-paths-versioned:
    description: All Coscine API paths are versioned under /api/v2/.
    severity: warn
    given: $.paths.*~
    then:
      function: pattern
      functionOptions:
        match: "^/api/v2/"

  coscine-operation-tags:
    description: Every operation should be tagged for grouping (Project, Resource, etc.).
    severity: warn
    given: $.paths[*][get,post,put,patch,delete]
    then:
      field: tags
      function: truthy

  coscine-operation-id:
    description: Every operation should declare an operationId.
    severity: warn
    given: $.paths[*][get,post,put,patch,delete]
    then:
      field: operationId
      function: truthy

  coscine-response-envelope:
    description: Schemas wrapping a single object use the "Response" suffix; paged lists use "PagedResponse".
    severity: info
    given: $.components.schemas
    then:
      function: truthy

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.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/rwth-aachen-university-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.