openapi: 3.2.0 info: title: Folio Authorities API version: v1 description: 'Operations tagged authorities across 2 of this provider''s published API definitions: folio-edge-inventory-openapi.json, folio-edge-inventory-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: /inventory tags: - name: Authorities paths: /inventory/authorities/{authorityId}: get: tags: - Authorities operationId: getAuthority summary: Retrieve authority by id from folio mod-entities-links parameters: - $ref: '#/components/parameters/x-okapi-tenant-header' - $ref: '#/components/parameters/x-okapi-token-header' - $ref: '#/components/parameters/authority-id' responses: '200': description: 'Calls the mod-entities-links GET /authority-storage/authorities/{id} API and returns the result as-is. \ The example of response: https://github.com/folio-org/mod-inventory/blob/master/ramls/examples/instance_get.json ' content: application/json: schema: type: string '400': $ref: '#/components/responses/badRequestResponse' '404': $ref: '#/components/responses/notFoundResponse' '500': $ref: '#/components/responses/internalServerErrorResponse' servers: - url: /inventory components: schemas: Error: type: object properties: code: description: Error status code type: integer errorMessage: description: Error message text type: string responses: internalServerErrorResponse: description: When unhandled exception occurred during code execution, e.g. NullPointerException content: application/json: example: code: 500 errorMessage: internal error schema: $ref: '#/components/schemas/Error' notFoundResponse: description: Item with a given ID not found content: application/json: example: code: 404 errorMessage: Record by given id not found schema: $ref: '#/components/schemas/Error' badRequestResponse: description: Validation errors content: application/json: example: code: 400 errorMessage: Validation error schema: $ref: '#/components/schemas/Error' parameters: x-okapi-token-header: name: x-okapi-token in: header description: x-okapi-token header value required: false schema: type: string authority-id: name: authorityId in: path description: Authority's UUID required: true schema: type: string pattern: ^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$ x-okapi-tenant-header: name: x-okapi-tenant in: header description: x-okapi-tenant header value required: false schema: type: string x-refined-from: - folio-edge-inventory-openapi.json - folio-edge-inventory-openapi.yml