openapi: 3.2.0 info: title: Folio Platforms API version: 7.3.0 contact: name: Knowledge Integration url: https://www.k-int.com description: 'Operations tagged Platforms across 2 of this provider''s published API definitions: folio-mod-agreements-openapi.json, folio-mod-agreements-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: https://folio-snapshot-okapi.dev.folio.org - url: https://folio-snapshot-2-okapi.dev.folio.org - url: https://folio-etesting-snapshot-kong.ci.folio.org security: - accessToken: [] - okapiToken: [] tags: - name: Platforms paths: /erm/platforms: description: Supports search of platform records in the Agreements local knowledgebase parameters: - $ref: '#/components/parameters/x-okapi-tenant' get: tags: - Platforms summary: Get a set of platform records operationId: getPlatforms parameters: - $ref: '#/components/parameters/filters' - $ref: '#/components/parameters/match' - $ref: '#/components/parameters/term' - $ref: '#/components/parameters/sort' - $ref: '#/components/parameters/stats' - $ref: '#/components/parameters/perPage' - $ref: '#/components/parameters/offset' - $ref: '#/components/parameters/page' responses: '200': description: OK content: application/json: schema: oneOf: - $ref: '#/components/schemas/PlatformResults' - $ref: '#/components/schemas/PlatformResultsArray' '400': description: Bad request error '403': description: Forbidden '500': description: Internal server error servers: - url: https://folio-snapshot-okapi.dev.folio.org - url: https://folio-snapshot-2-okapi.dev.folio.org - url: https://folio-etesting-snapshot-kong.ci.folio.org /erm/platforms/{platformId}: parameters: - $ref: '#/components/parameters/x-okapi-tenant' - $ref: '#/components/parameters/platformId' get: tags: - Platforms summary: Get a specified platform record operationId: getPlatform responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Platform' '400': description: Bad request error '403': description: Forbidden '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/HttpError' '500': description: Internal server error put: tags: - Platforms summary: Update a platform record operationId: putPlatform requestBody: content: application/json: schema: $ref: '#/components/schemas/Platform' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/Platform' '400': description: Bad request error '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/HttpError' '500': description: Internal server error servers: - url: https://folio-snapshot-okapi.dev.folio.org - url: https://folio-snapshot-2-okapi.dev.folio.org - url: https://folio-etesting-snapshot-kong.ci.folio.org components: parameters: offset: in: query name: offset required: false schema: type: integer perPage: in: query name: perPage required: false schema: type: integer page: in: query name: page required: false schema: type: integer platformId: in: path name: platformId description: UUID for a Platform required: true schema: type: string format: uuid filters: in: query name: filters required: false schema: type: string stats: in: query name: stats required: false schema: type: boolean x-okapi-tenant: in: header name: x-okapi-tenant required: true schema: type: string match: in: query name: match required: false schema: type: string term: in: query name: term required: false schema: type: string sort: in: query name: sort required: false schema: type: string schemas: Platform: type: object required: - name properties: id: type: string format: uuid name: type: string dateCreated: type: string format: date-time lastUpdated: type: string format: date-time locators: type: array items: type: object properties: domainName: type: string id: type: string format: uuid PlatformResults: type: object required: - results allOf: - $ref: '#/components/schemas/ResultsMeta' - type: object - properties: results: $ref: '#/components/schemas/PlatformResultsArray' HttpError: type: object properties: message: type: string error: type: integer PlatformResultsArray: type: array items: $ref: '#/components/schemas/Platform' ResultsMeta: type: object properties: meta: type: object page: type: integer pageSize: type: integer total: type: integer totalPages: type: integer totalRecords: type: integer securitySchemes: okapiToken: type: apiKey in: header name: x-okapi-token accessToken: type: apiKey in: cookie name: folioAccessToken x-refined-from: - folio-mod-agreements-openapi.json - folio-mod-agreements-openapi.yml