From a0e915db171b56f73ab19b29ced861fec0f7bf0d Mon Sep 17 00:00:00 2001 From: Nicholas Wallace Date: Fri, 17 May 2024 05:10:59 +0000 Subject: [PATCH] Add: delete library items with issues --- docs/controllers/LibraryController.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/controllers/LibraryController.yaml b/docs/controllers/LibraryController.yaml index 348d18029..f69f00116 100644 --- a/docs/controllers/LibraryController.yaml +++ b/docs/controllers/LibraryController.yaml @@ -300,3 +300,27 @@ paths: - $ref: '#/components/schemas/libraryInclude' '404': $ref: '#/components/responses/library404' + /api/libraries/{id}/issues: + parameters: + - name: id + in: path + description: The ID of the library. + required: true + schema: + $ref: '../objects/Library.yaml#/components/schemas/libraryId' + delete: + operationId: deleteLibraryIssues + summary: Delete items with issues in a library. + description: Delete all items with issues in a library by library ID on the server. This only removes the items from the ABS database and does not delete media files. + tags: + - Libraries + responses: + '200': + description: deleteLibraryIssues OK + content: + application/json: + schema: + type: string + example: 'Issues deleted.' + '404': + $ref: '#/components/responses/library404'