From e342831ce780febd90a4e5d3e5db28c78f9854e3 Mon Sep 17 00:00:00 2001 From: SreejaMangarapu Date: Thu, 4 Jul 2024 14:50:16 +0530 Subject: [PATCH] CIRC-2099 removed raml files --- ramls/print-events-request.json | 38 -------------------------- ramls/print-events.raml | 47 --------------------------------- 2 files changed, 85 deletions(-) delete mode 100644 ramls/print-events-request.json delete mode 100644 ramls/print-events.raml diff --git a/ramls/print-events-request.json b/ramls/print-events-request.json deleted file mode 100644 index 12d0d6d389..0000000000 --- a/ramls/print-events-request.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "description": "Print Events Request", - "type": "object", - "properties": { - "requestIds": { - "description": "List of request IDs", - "type": "array", - "minItems": 1, - "items": { - "type": "string" - } - }, - "requesterId": { - "description": "ID of the requester", - "type": "string", - "minLength": 1, - "pattern": "^(?!\\s*$).+" - }, - "requesterName": { - "description": "Name of the requester", - "type": "string", - "minLength": 1, - "pattern": "^(?!\\s*$).+" - }, - "printEventDate": { - "description": "Date and time when the print command is executed", - "type": "string", - "format": "date-time" - } - }, - "required": [ - "requestIds", - "requesterId", - "requesterName", - "printEventDate" - ] -} diff --git a/ramls/print-events.raml b/ramls/print-events.raml deleted file mode 100644 index cf8b36c63f..0000000000 --- a/ramls/print-events.raml +++ /dev/null @@ -1,47 +0,0 @@ -#%RAML 1.0 -title: Print Events -version: v1.0 -protocols: [ HTTP, HTTPS ] -baseUri: http://localhost:9130 - -documentation: - - title: Print Events API - content: Api for print events - -types: - print-events-request: !include print-events-request.json - errors: !include raml-util/schemas/errors.schema - -traits: - validate: !include raml-util/traits/validation.raml - -/circulation/print-events: - post: - is: [validate] - description: save a print event log - body: - application/json: - type: print-events-request - responses: - 201: - description: "All items have been successfully created or updated" - 409: - description: "Optimistic locking version conflict" - body: - text/plain: - example: "version error" - 413: - description: "Payload Too Large" - body: - text/plain: - example: "Payload Too Large" - 422: - description: "Unprocessable Entity" - body: - application/json: - type: errors - 500: - description: "Internal server error" - body: - text/plain: - example: "Internal server error"