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
This commit is contained in:
2026-01-30 13:52:06 -05:00
parent dc820dfb92
commit ba31e1491e
33 changed files with 81 additions and 1290 deletions
+4 -4
View File
@@ -5,7 +5,7 @@ meta {
}
get {
url: {{base_url}}/api/ebooks/{{ebook_id}}/progress
url: {{base_url}}/api/media-items/{{media_item_id}}/progress
body: none
auth: inherit
}
@@ -18,15 +18,15 @@ settings {
docs {
## Get Reading Progress
Retrieves the authenticated user's reading progress for an ebook.
Retrieves the authenticated user's reading progress for a media item.
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string): Ebook UUID
- `id` (string): Media Item UUID
**Response:**
- `ebook_id` (string): Ebook UUID
- `id` (string): Media Item UUID
- `user_id` (string): User UUID
- `current_page` (number): Current page number
- `total_pages` (number, nullable): Total pages
+3 -3
View File
@@ -5,7 +5,7 @@ meta {
}
put {
url: {{base_url}}/api/ebooks/{{ebook_id}}/progress
url: {{base_url}}/api/media-items/{{media_item_id}}/progress
body: json
auth: inherit
}
@@ -25,12 +25,12 @@ settings {
docs {
## Update Reading Progress
Updates the authenticated user's reading progress for an ebook.
Updates the authenticated user's reading progress for a media item.
**Authentication:** Required (Bearer token)
**Path Parameters:**
- `id` (string): Ebook UUID
- `id` (string): Media Item UUID
**Request Body:**
- `current_page` (number, required): Current page number