- Add auth/Add Ebook Folder.bru - test adding folders to user account - Add auth/Get Ebook Folders.bru - test listing user's folders - Add auth/Delete Ebook Folder.bru - test removing folders - Add scanner/Scan Ebooks.bru - test manual scanning of multiple folders - Add scanner/Start Scanner.bru - test starting folder monitoring - Add scanner/Stop Scanner.bru - test stopping folder monitoring - Update all scanner endpoints to use folder_paths array format
40 lines
648 B
Plaintext
40 lines
648 B
Plaintext
meta {
|
|
name: Delete Ebook Folder
|
|
type: http
|
|
seq: 7
|
|
}
|
|
|
|
delete {
|
|
url: {{base_url}}/api/auth/ebook-folders/{{folder_path}}
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Delete Ebook Folder
|
|
|
|
Removes an ebook folder for the authenticated user.
|
|
|
|
**Method:** DELETE
|
|
|
|
**Endpoint:** /api/auth/ebook-folders/:folderPath
|
|
|
|
**Authentication:** Required
|
|
|
|
**URL Parameters:**
|
|
- `folderPath` (string): URL-encoded folder path to remove
|
|
|
|
**Response:**
|
|
- `message` (string): Success message
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Bad Request
|
|
- 401: Unauthorized
|
|
- 404: Folder not found
|
|
} |