Files
bookhoard/bruno/devices/Remove Book from Kobo Shelf.bru
T
john-okeefe 3117ce54ec refactor(bruno): migrate API tests to Bruno DSL format
- Convert all existing .bru files from JSON to Bruno DSL format
- Remove obsolete files (conflicts/api.bru, kobo/Kobo Initialization.bru)
- Update auth configuration to use 'inherit' instead of explicit bearer tokens
- Add comprehensive documentation to all test files
- Improve test scripts with proper assertions and error handling
2026-02-08 20:49:06 -05:00

50 lines
1.0 KiB
Plaintext

meta {
name: Remove Book from Kobo Shelf
type: http
seq: 1
}
delete {
url: {{baseURL}}/api/devices/{{deviceID}}/shelves?media_item_id={{bookUUID}}
body: none
auth: inherit
}
headers {
Authorization: Bearer {{userToken}}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Remove Book from Kobo Shelf
Remove a specific book from a Kobo device shelf, preventing it from syncing to that device.
**Method:** DELETE
**Endpoint:** /api/devices/{deviceID}/shelves?media_item_id={bookUUID}
**Authentication:** Bearer token
**Path Parameters:**
- `deviceID` (string): Device UUID
**Query Parameters:**
- `media_item_id` (string): Book UUID to remove from shelf
**Response:**
- `message` (string): Success message
**Status Codes:**
- 200: Success - book removed from shelf
- 401: Unauthorized
- 404: Device or book not found
- 500: Internal server error
**Note:** Removing a book from the device shelf prevents it from syncing to that device in future sync operations.
}