Files
bookhoard/bruno/progress/Update Reading Progress.bru
T
john-okeefe ba31e1491e refactor: update Bruno API collection for media-items system
- 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
2026-01-30 13:52:06 -05:00

45 lines
772 B
Plaintext

meta {
name: Update Reading Progress
type: http
seq: 7
}
put {
url: {{base_url}}/api/media-items/{{media_item_id}}/progress
body: json
auth: inherit
}
body:json {
{
"current_page": 45,
"total_pages": 200
}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Update Reading Progress
Updates the authenticated user's reading progress for a media item.
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string): Media Item UUID
**Request Body:**
- `current_page` (number, required): Current page number
- `total_pages` (number, optional): Total pages in book
**Response:** Updated progress object
**Error Responses:**
- 401: Invalid authentication
- 400: Invalid request data
}