mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Add: delete library items with issues
This commit is contained in:
parent
d85ed0cc32
commit
a0e915db17
1 changed files with 24 additions and 0 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue