National University of Colombia · API Governance Rules

National University of Colombia API Rules

Spectral linting rules defining API design standards and conventions for National University of Colombia.

5 Rules error 1 warn 3
View Rules File View on GitHub

Rule Categories

unal

Rules

warn
unal-info-contact
Repository API must expose a contact for the digital repository team.
$.info
warn
unal-server-bff-host
Servers should point at the confirmed DSpace backend host.
$.servers[*].url
warn
unal-operation-id
Every operation should declare an operationId.
$.paths[*][get,post,put,delete,patch]
hint
unal-hal-json-media
DSpace REST responses are served as application/hal+json.
$.paths[?(@property != '/oai/request')][get].responses.200.content
error
unal-oai-verb-enum
The OAI-PMH endpoint must constrain the verb parameter to the OAI-PMH 2.0 verbs.
$.paths['/oai/request'].get.parameters[?(@.name=='verb')].schema

Spectral Ruleset

Raw ↑
extends: []
formats:
  - oas3
documentationUrl: https://repositorio.unal.edu.co/
rules:
  unal-info-contact:
    description: Repository API must expose a contact for the digital repository team.
    message: info.contact is required (repositorio_nal@unal.edu.co)
    severity: warn
    given: $.info
    then:
      field: contact
      function: truthy
  unal-server-bff-host:
    description: Servers should point at the confirmed DSpace backend host.
    message: Server URL should be the bffrepositorio.unal.edu.co/server backend.
    severity: warn
    given: $.servers[*].url
    then:
      function: pattern
      functionOptions:
        match: "bffrepositorio\\.unal\\.edu\\.co/server"
  unal-operation-id:
    description: Every operation should declare an operationId.
    severity: warn
    given: $.paths[*][get,post,put,delete,patch]
    then:
      field: operationId
      function: truthy
  unal-hal-json-media:
    description: DSpace REST responses are served as application/hal+json.
    message: REST 200 responses should offer application/hal+json.
    severity: hint
    given: $.paths[?(@property != '/oai/request')][get].responses.200.content
    then:
      field: application/hal+json
      function: truthy
  unal-oai-verb-enum:
    description: The OAI-PMH endpoint must constrain the verb parameter to the OAI-PMH 2.0 verbs.
    message: The OAI-PMH verb parameter must be an enum of the six OAI-PMH verbs.
    severity: error
    given: $.paths['/oai/request'].get.parameters[?(@.name=='verb')].schema
    then:
      field: enum
      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/national-university-of-colombia-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.