- Remove all ebook-specific API requests (15 files deleted) - Rename Scan Ebooks.bru to Scan Media Items.bru - Update API paths from /api/ebooks to /api/media-items - Update base URL and environment configuration - Maintain all existing media-items, library, auth, and progress tests Aligns Bruno collection with unified media-items API architecture
38 lines
722 B
Plaintext
38 lines
722 B
Plaintext
meta {
|
|
name: Get Reading Progress
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
get {
|
|
url: {{base_url}}/api/media-items/{{media_item_id}}/progress
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Get Reading Progress
|
|
|
|
Retrieves the authenticated user's reading progress for a media item.
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Media Item UUID
|
|
|
|
**Response:**
|
|
- `id` (string): Media Item UUID
|
|
- `user_id` (string): User UUID
|
|
- `current_page` (number): Current page number
|
|
- `total_pages` (number, nullable): Total pages
|
|
- `last_read_at` (string): Last read timestamp
|
|
|
|
**Error Responses:**
|
|
- 401: Invalid authentication
|
|
}
|