openapi: 3.2.0 info: title: Folio Checklist Items API version: 3.2.0 contact: name: Knowledge Integration url: https://www.k-int.com description: 'Operations tagged Checklist Items across 2 of this provider''s published API definitions: folio-mod-oa-openapi.json, folio-mod-oa-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: Checklist Items paths: /oa/checklistItems: description: Supports search and creation of checklist item definitions. parameters: - $ref: '#/components/parameters/x-okapi-tenant' get: tags: - Checklist Items summary: Get a set of checklist item definition records operationId: getChecklistItemDefinitions 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/ChecklistItemDefinitionResults' - $ref: '#/components/schemas/ChecklistItemDefinitionResultsArray' '400': description: Bad request error '401': description: Unauthorized '403': description: Forbidden '500': description: Internal server error post: tags: - Checklist Items summary: Create checklist item definition record operationId: postChecklistItemDefinition requestBody: content: application/json: schema: $ref: '#/components/schemas/ChecklistItemDefinition' required: true responses: '201': description: Created content: application/json: schema: $ref: '#/components/schemas/ChecklistItemDefinition' '400': description: Bad request error '401': description: Unauthorized '403': description: Forbidden '422': description: Validation error content: application/json: schema: $ref: '#/components/schemas/ValidationErrorResponse' '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 /oa/checklistItems/{id}: parameters: - $ref: '#/components/parameters/x-okapi-tenant' - $ref: '#/components/parameters/checklistItemDefinitionId' get: tags: - Checklist Items summary: Get a specified checklist item definition record operationId: getChecklistItemDefinition responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ChecklistItemDefinition' '400': description: Bad request error '401': description: Unauthorized '403': description: Forbidden '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/SpringBootErrorResponse' '500': description: Internal server error put: tags: - Checklist Items summary: Update checklist item definition record operationId: putChecklistItemDefinition requestBody: content: application/json: schema: $ref: '#/components/schemas/ChecklistItemDefinition' required: true responses: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/ChecklistItemDefinition' '400': description: Bad request error '401': description: Unauthorized '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/SpringBootErrorResponse' '422': description: Validation error content: application/json: schema: $ref: '#/components/schemas/ValidationErrorResponse' '500': description: Internal server error delete: tags: - Checklist Items summary: Delete a specified checklist item definition record operationId: deleteChecklistItemDefinition responses: '204': description: No content '400': description: Bad request error '401': description: Unauthorized '403': description: Forbidden '404': description: Not found error content: application/json: schema: $ref: '#/components/schemas/SpringBootErrorResponse' '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: checklistItemDefinitionId: in: path name: id description: UUID for a checklist item definition required: true schema: type: string format: uuid 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 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 term: in: query name: term required: false schema: type: string match: in: query name: match required: false schema: type: string sort: in: query name: sort required: false schema: type: string schemas: ChecklistItemDefinition: type: object required: - id - label properties: id: type: string format: uuid readOnly: true dateCreated: type: string format: date-time readOnly: true lastUpdated: type: string format: date-time readOnly: true label: type: string name: type: string description: type: string weight: type: integer default: 0 ValidationErrorResponse: description: 'Validation error body returned when a create/update request fails domain-object validation. Shape depends on the number of errors: a single ValidationError when there is exactly one, otherwise a wrapper with a count and an embedded array.' oneOf: - $ref: '#/components/schemas/ValidationError' - type: object required: - total - _embedded properties: total: type: integer _embedded: type: object properties: errors: type: array items: $ref: '#/components/schemas/ValidationError' ValidationError: type: object required: - message - path - _links properties: message: type: string path: type: string _links: type: object required: - self properties: self: type: object required: - href properties: href: type: string format: uri ChecklistItemDefinitionResultsArray: type: array items: $ref: '#/components/schemas/ChecklistItemDefinition' SpringBootErrorResponse: type: object description: Spring Boot's default error body. Emitted by the servlet container itself when a request ends in an error status with no response body written by the application, rather than by this app's own error handling - so it does not match the `HttpError` shape used elsewhere in this API. properties: timestamp: type: integer description: Epoch milliseconds status: type: integer error: type: string path: type: string ChecklistItemDefinitionResults: type: object required: - results allOf: - $ref: '#/components/schemas/ResultsMeta' - type: object - properties: results: $ref: '#/components/schemas/ChecklistItemDefinitionResultsArray' 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-oa-openapi.json - folio-mod-oa-openapi.yml