Files
bookhoard/bruno/progress/Update Reading Progress.yml
T
john-okeefe 55c42f1f99 feat: Add comprehensive backend validation, toast notifications, and Tokyo Night theme
- Backend: Add server-side validation with go-playground/validator/v10
- Frontend: Add toast notifications for API errors with @zerodevx/svelte-toast
- UI: Complete Tokyo Night theme redesign with modern animations
- Docs: Update COMPLETE_DOCUMENTATION.md and README.md with all enhancements
- Validation: Email format, password strength, and input sanitization
- UX: Real-time error feedback, loading states, and responsive design
2026-01-21 20:01:18 -05:00

38 lines
816 B
YAML

meta:
name: Update Reading Progress
seq: 7
http:
method: put
url: "{{base_url}}/api/ebooks/{{ebook_id}}/progress"
auth:
type: bearer
body:
type: json
data: |
{
"current_page": 45,
"total_pages": 200
}
vars:
pre-request:
- name: ebook_id
value: "123e4567-e89b-12d3-a456-426614174000"
docs: |
## Update Reading Progress
Updates the authenticated user's reading progress for an ebook.
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string): Ebook 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