Files
bookhoard/bruno/opds/Get Device Catalog - Bearer.bru
T
john-okeefe 8321149957 test: add Bruno API test collections for device authentication
- Device token regeneration tests (success, forbidden, not found, unauthorized)
- OPDS authentication tests (Bearer token, query token)
- Kobo sync tests with token authentication
- Test various authentication methods and error cases
2026-02-13 12:12:17 -05:00

37 lines
813 B
Plaintext

meta {
name: Get Device Catalog - Bearer
type: http
seq: 1
}
get {
url: {{opds_base_url}}/opds/devices/{{device_id}}/catalog
}
docs {
## Get Device OPDS Catalog - Bearer
Tests OPDS device catalog retrieval using Bearer token authentication.
**Method:** GET
**Endpoint:** /opds/devices/{device_id}/catalog
**Authentication:** Bearer token (for KOReader, API clients, other devices)
**Path Parameters:**
- `device_id` (string): Device UUID
**Response:** OPDS Atom feed catalog
**Status Codes:**
- 200: Success (OPDS catalog)
- 401: Unauthorized (missing or invalid token)
- 403: Device sync disabled
- 404: Device not found
**Important:** Bearer token in Authorization header
**Use Case:** KOReader devices, API clients, or any device configured with Bearer token
}