38 lines
711 B
Plaintext
38 lines
711 B
Plaintext
meta {
|
|
name: Get Reading Progress
|
|
type: http
|
|
seq: 6
|
|
}
|
|
|
|
get {
|
|
url: http://localhost:8765/api/ebooks/{{ebookid}}/progress
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Get Reading Progress
|
|
|
|
Retrieves the authenticated user's reading progress for an ebook.
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Path Parameters:**
|
|
- `id` (string): Ebook UUID
|
|
|
|
**Response:**
|
|
- `ebook_id` (string): Ebook 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
|
|
}
|