- 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
38 lines
864 B
Plaintext
38 lines
864 B
Plaintext
meta {
|
|
name: Get Device Catalog - Query Token
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
get {
|
|
url: {{opds_base_url}}/opds/devices/{{device_id}}/catalog?token={{device_token}}
|
|
}
|
|
|
|
docs {
|
|
## Get Device OPDS Catalog - Query Token
|
|
|
|
Tests OPDS device catalog retrieval using query parameter authentication.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /opds/devices/{device_id}/catalog?token={device_token}
|
|
|
|
**Authentication:** Query parameter (for Kobo devices)
|
|
|
|
**Path Parameters:**
|
|
- `device_id` (string): Device UUID
|
|
- `token` (string): Device auth_token
|
|
|
|
**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:** Kobo devices use query parameter for OPDS catalog
|
|
|
|
**Use Case:** Kobo devices accessing OPDS catalog
|
|
}
|