Ghent University Library OAI Service

An OpenAPI 3.1 contract authored and open-sourced by Ghent University Library for the administrative side of the OAI-PMH server that fronts the Academic Bibliography - adding metadata formats, sets, items and records, and deleting records. This is the write half of the harvesting surface at biblio.ugent.be/oai. servers[] is relative; the deployment is internal and the contract declares no securityScheme.

Operations 5

POST /add-metadata-format Add a metadata format #
POST /add-set Add a set #
POST /add-item Add item #
POST /add-record Add record #
POST /delete-record Delete a record #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/oai-service"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

ghent-oai-service-openapi.yaml Raw ↑
# Provenance
#   generated: '2026-09-01'
#   method: searched
#   source: https://raw.githubusercontent.com/ugent-library/oai-service/main/api/v1/openapi.yaml
#   x-operator: institution
#   note: Authored and published by Ghent University Library (github.com/ugent-library,
#     "Library applications built for libraries at Ghent University"). servers[] is
#     relative (/api/v1) because the service is deployed inside the university's own
#     estate; no public base URL is published, and none has been invented here.
#     Verbatim upstream copy is in openapi/_original/ghent-oai-service-openapi.yaml.
openapi: 3.1.0

servers:
  - url: /api/v1

info:
  title: OAI Service
  version: 0.0.1

paths:
  /add-metadata-format:
    post:
      summary: Add a metadata format
      description: Add a metadata format
      operationId: addMetadataFormat
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddMetadataFormatRequest'
        required: true
      responses:
        '200':
          description: Success
        default:
          $ref: "#/components/responses/Error"

  /add-set:
    post:
      summary: Add a set
      description: Add a set
      operationId: addSet
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddSetRequest'
        required: true
      responses:
        '200':
          description: Success
        default:
          $ref: "#/components/responses/Error"

  /add-item:
    post:
      summary: Add item
      description: Add item
      operationId: addItem
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddItemRequest'
        required: true
      responses:
        '200':
          description: Success
        default:
          $ref: '#/components/responses/Error'
  
  /add-record:
    post:
      summary: Add record
      description: Add record
      operationId: addRecord
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddRecordRequest'
        required: true
      responses:
        '200':
          description: Success
        default:
          $ref: '#/components/responses/Error'

  /delete-record:
    post:
      summary: Delete a record
      description: Delete a record
      operationId: deleteRecord
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteRecordRequest'
        required: true
      responses:
        '200':
          description: Success
        default:
          $ref: '#/components/responses/Error'

security:
  - apiKey: []

components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-Api-Key

  responses:
    Error:
      description: Error
      content:
        application/json:
          schema:
            $ref: "#/components/schemas/Error"

  schemas:
    AddMetadataFormatRequest:
      type: object
      properties:
        metadata_prefix:
          type: string
          minLength: 1
        schema:
          type: string
          minLength: 1
        metadata_namespace:
          type: string
          minLength: 1
      required: [metadata_prefix, schema, metadata_namespace]

    AddSetRequest:
      type: object
      properties:
        set_spec:
          type: string
          minLength: 1
        set_name:
          type: string
          minLength: 1
        set_description:
          type: string
      required: [set_spec, set_name]

    AddItemRequest:
      type: object
      properties:
        identifier:
          type: string
          minLength: 1
        set_specs:
          type: array
          items:
            type: string
            minLength: 1
      required: [identifier]

    AddRecordRequest:
      type: object
      properties:
        identifier:
          type: string
          minLength: 1
        metadata_prefix:
          type: string
          minLength: 1
        content:
          type: string
          minLength: 1
      required: [identifier, metadata_prefix, content]

    DeleteRecordRequest:
      type: object
      properties:
        identifier:
          type: string
          minLength: 1
        metadata_prefix:
          type: string
          minLength: 1
      required: [identifier, metadata_prefix]

    Error:
      type: object
      properties:
        code:
          type: integer
          format: int64
        message:
          type: string
      required:
        - code
        - message