mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-12 12:21:34 +00:00
Add: remove library items with issues
This commit is contained in:
parent
df03343a95
commit
2ff0cb2c0a
2 changed files with 39 additions and 0 deletions
|
|
@ -565,6 +565,43 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"/api/libraries/{id}/issues": {
|
||||||
|
"parameters": [
|
||||||
|
{
|
||||||
|
"name": "id",
|
||||||
|
"in": "path",
|
||||||
|
"description": "The ID of the library.",
|
||||||
|
"required": true,
|
||||||
|
"schema": {
|
||||||
|
"$ref": "#/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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"components": {
|
"components": {
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,8 @@ paths:
|
||||||
$ref: './controllers/LibraryController.yaml#/paths/~1api~1libraries'
|
$ref: './controllers/LibraryController.yaml#/paths/~1api~1libraries'
|
||||||
/api/libraries/{id}:
|
/api/libraries/{id}:
|
||||||
$ref: './controllers/LibraryController.yaml#/paths/~1api~1libraries~1{id}'
|
$ref: './controllers/LibraryController.yaml#/paths/~1api~1libraries~1{id}'
|
||||||
|
/api/libraries/{id}/issues:
|
||||||
|
$ref: './controllers/LibraryController.yaml#/paths/~1api~1libraries~1{id}~1issues'
|
||||||
tags:
|
tags:
|
||||||
- name: Authors
|
- name: Authors
|
||||||
description: Author endpoints
|
description: Author endpoints
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue