First Commit. AI Generated App.

This commit is contained in:
2026-01-21 21:17:22 -05:00
parent ea70d85f9d
commit 4345b7bcdd
22 changed files with 449 additions and 208 deletions
@@ -1,16 +1,20 @@
meta:
meta {
name: Get Reading Progress
type: http
seq: 6
http:
method: get
url: "{{base_url}}/api/ebooks/{{ebook_id}}/progress"
auth:
type: bearer
vars:
pre-request:
- name: ebook_id
value: "123e4567-e89b-12d3-a456-426614174000"
docs: |
}
get {
url: http://localhost:8765/api/ebooks/123e4567-e89b-12d3-a456-426614174000/progress
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
docs {
## Get Reading Progress
Retrieves the authenticated user's reading progress for an ebook.
@@ -28,4 +32,5 @@ docs: |
- `last_read_at` (string): Last read timestamp
**Error Responses:**
- 401: Invalid authentication
- 401: Invalid authentication
}
@@ -1,23 +1,28 @@
meta:
meta {
name: Update Reading Progress
type: http
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: |
}
put {
url: http://localhost:8765/api/ebooks/123e4567-e89b-12d3-a456-426614174000/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 an ebook.
@@ -35,4 +40,5 @@ docs: |
**Error Responses:**
- 401: Invalid authentication
- 400: Invalid request data
- 400: Invalid request data
}