From 26070e40000ba68180290b4ccdfc7883b44a1431 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Sun, 8 Feb 2026 21:26:31 -0500 Subject: [PATCH] Refactor: rename baseUrl to base_url in .bru files Update configuration key naming convention to use snake_case consistently. Applies changes recursively across all subdirectories. --- bruno/analytics/Get Device Usage.bru | 2 +- bruno/analytics/Get Popular Books.bru | 2 +- .../Get Reading Stats Date Range.bru | 2 +- bruno/analytics/Get Reading Stats.bru | 2 +- bruno/books/Bulk Delete Books.bru | 2 +- bruno/books/Bulk Update Books.bru | 2 +- .../Bulk Add Books to Collections.bru | 2 +- .../Bulk Remove Books - All Books.bru | 83 ++++++++++--- .../Bulk Remove Books - Empty List.bru | 2 +- .../Bulk Remove Books - Invalid IDs.bru | 2 +- .../Bulk Remove Books - Single Book.bru | 2 +- bruno/collections/Bulk Remove Books.bru | 116 ------------------ ...est Collection Rules - Author Contains.bru | 2 +- ...on Rules - Copyright Year Greater Than.bru | 2 +- ...t Collection Rules - Empty Rules Array.bru | 2 +- .../Test Collection Rules - No Matches.bru | 2 +- bruno/collections/Test Collection Rules.bru | 2 +- bruno/conflicts/Bulk Dismiss Conflicts.bru | 2 +- bruno/conflicts/Bulk Resolve Conflicts.bru | 2 +- .../Bulk Resolve Highest Progress.bru | 2 +- bruno/conflicts/Delete Conflict.bru | 2 +- bruno/conflicts/Dismiss All Resolved.bru | 2 +- bruno/conflicts/Get Conflict Details.bru | 2 +- bruno/conflicts/List Conflicts.bru | 2 +- bruno/conflicts/Resolve Conflict.bru | 2 +- bruno/devices/Check Registration Status.bru | 2 +- bruno/devices/Delete Device.bru | 2 +- bruno/devices/Get Device.bru | 2 +- bruno/devices/List Devices.bru | 2 +- bruno/devices/Update Device.bru | 2 +- bruno/koreader/Get Book Metadata.bru | 2 +- bruno/koreader/Get Library.bru | 2 +- bruno/koreader/Sync Bookmarks.bru | 2 +- bruno/koreader/Sync Progress.bru | 2 +- ...oad Book KEPUB (On-the-fly Conversion).bru | 2 +- bruno/sync-kobo/Auto Link Books.bru | 2 +- bruno/sync-kobo/Bulk Link Books.bru | 2 +- .../Get Unlinked Book Suggestions.bru | 2 +- .../Get Progress History.bru | 2 +- .../Get Universal Progress.bru | 2 +- .../Update Universal Progress.bru | 2 +- bruno/websocket_connect.bru | 2 +- 42 files changed, 104 insertions(+), 175 deletions(-) delete mode 100644 bruno/collections/Bulk Remove Books.bru diff --git a/bruno/analytics/Get Device Usage.bru b/bruno/analytics/Get Device Usage.bru index fcacf5a..27ece3e 100644 --- a/bruno/analytics/Get Device Usage.bru +++ b/bruno/analytics/Get Device Usage.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/analytics/device-usage + url: {{base_url}}/api/analytics/device-usage body: none auth: inherit } diff --git a/bruno/analytics/Get Popular Books.bru b/bruno/analytics/Get Popular Books.bru index e58db5c..435cdc1 100644 --- a/bruno/analytics/Get Popular Books.bru +++ b/bruno/analytics/Get Popular Books.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/analytics/popular-books?limit=10 + url: {{base_url}}/api/analytics/popular-books?limit=10 body: none auth: inherit } diff --git a/bruno/analytics/Get Reading Stats Date Range.bru b/bruno/analytics/Get Reading Stats Date Range.bru index e9375af..6ec2bca 100644 --- a/bruno/analytics/Get Reading Stats Date Range.bru +++ b/bruno/analytics/Get Reading Stats Date Range.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/analytics/reading-stats?start_date=2024-01-01&end_date=2024-01-31 + url: {{base_url}}/api/analytics/reading-stats?start_date=2024-01-01&end_date=2024-01-31 body: none auth: inherit } diff --git a/bruno/analytics/Get Reading Stats.bru b/bruno/analytics/Get Reading Stats.bru index c25e4be..cc33640 100644 --- a/bruno/analytics/Get Reading Stats.bru +++ b/bruno/analytics/Get Reading Stats.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/analytics/reading-stats + url: {{base_url}}/api/analytics/reading-stats body: none auth: inherit } diff --git a/bruno/books/Bulk Delete Books.bru b/bruno/books/Bulk Delete Books.bru index a415b0d..e217005 100644 --- a/bruno/books/Bulk Delete Books.bru +++ b/bruno/books/Bulk Delete Books.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/books/bulk-delete + url: {{base_url}}/api/books/bulk-delete body: json auth: inherit } diff --git a/bruno/books/Bulk Update Books.bru b/bruno/books/Bulk Update Books.bru index fa808b7..7f7b913 100644 --- a/bruno/books/Bulk Update Books.bru +++ b/bruno/books/Bulk Update Books.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/books/bulk-update + url: {{base_url}}/api/books/bulk-update body: json auth: inherit } diff --git a/bruno/collections/Bulk Add Books to Collections.bru b/bruno/collections/Bulk Add Books to Collections.bru index 05a0e0a..59b4235 100644 --- a/bruno/collections/Bulk Add Books to Collections.bru +++ b/bruno/collections/Bulk Add Books to Collections.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/bulk-add-books + url: {{base_url}}/api/collections/bulk-add-books body: json auth: inherit } diff --git a/bruno/collections/Bulk Remove Books - All Books.bru b/bruno/collections/Bulk Remove Books - All Books.bru index 3d89d30..1696c47 100644 --- a/bruno/collections/Bulk Remove Books - All Books.bru +++ b/bruno/collections/Bulk Remove Books - All Books.bru @@ -5,14 +5,13 @@ meta { } post { - url: {{baseUrl}}/api/collections/{{collection_id}}/books/bulk-remove + url: {{base_url}}/api/collections/{{collection_id}}/books/bulk-remove body: json auth: inherit } headers { Content-Type: application/json - Authorization: Bearer {{authToken}} } body:json { @@ -25,31 +24,77 @@ body:json { } } -script:post-response { - function onResponse(res) { - if (res.getStatus() === 200) { - tests['All books removed'] = true; - const body = res.getBody(); - tests['Removed equals total'] = body.removed === body.total; - tests['Total is 3'] = body.total === 3; - } - } - onResponse(res); -} - settings { encodeUrl: true timeout: 0 } docs { - ## Bulk Remove Books - All Books + ## Bulk Remove Books from Collection - Tests removing multiple books from a collection in a single request. + Removes multiple books from a collection in a single request. - **Expected Result:** 200 OK with removed: 3, total: 3 + **Method:** POST - **Purpose:** Verifies the bulk remove functionality works correctly when removing multiple books that all exist in the collection. + **Endpoint:** /api/collections/{collection_id}/books/bulk-remove - **Use Case:** Common scenario when a user wants to remove several books from a collection at once, such as when reorganizing their library or removing books they've finished reading. + **Authentication:** Bearer token + + **Path Parameters:** + - `collection_id` (string): Collection UUID + + **Request Body:** + - `book_ids` (array): Array of book UUIDs to remove from the collection + + **Response:** + - `removed` (number): Number of books successfully removed + - `total` (number): Total number of books processed + - `results` (array): Results for each removal attempt + - `book_id` (string): Book UUID + - `success` (boolean): Whether the removal succeeded + - `error` (string, optional): Error message if failed + + **Status Codes:** + - 200: Success (with partial results if some failed) + - 400: Invalid request data (e.g., empty book_ids array) + - 401: Unauthorized + - 403: Forbidden + - 404: Collection not found + - 500: Internal server error + + **Example Request:** + ```json + { + "book_ids": [ + "book-uuid-1", + "book-uuid-2", + "book-uuid-3" + ] + } + ``` + + **Example Response:** + ```json + { + "removed": 2, + "total": 3, + "results": [ + { + "book_id": "book-uuid-1", + "success": true + }, + { + "book_id": "book-uuid-2", + "success": true + }, + { + "book_id": "book-uuid-3", + "success": false, + "error": "Book not in collection" + } + ] + } + ``` + + **Note:** Removing a book that's not in the collection returns success: false for that book but doesn't fail the entire request. Empty book_ids array returns 400. } diff --git a/bruno/collections/Bulk Remove Books - Empty List.bru b/bruno/collections/Bulk Remove Books - Empty List.bru index 0e04247..3c4f0f8 100644 --- a/bruno/collections/Bulk Remove Books - Empty List.bru +++ b/bruno/collections/Bulk Remove Books - Empty List.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/{{collection_id}}/books/bulk-remove + url: {{base_url}}/api/collections/{{collection_id}}/books/bulk-remove body: json auth: inherit } diff --git a/bruno/collections/Bulk Remove Books - Invalid IDs.bru b/bruno/collections/Bulk Remove Books - Invalid IDs.bru index 65d3643..25676a4 100644 --- a/bruno/collections/Bulk Remove Books - Invalid IDs.bru +++ b/bruno/collections/Bulk Remove Books - Invalid IDs.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/{{collection_id}}/books/bulk-remove + url: {{base_url}}/api/collections/{{collection_id}}/books/bulk-remove body: json auth: inherit } diff --git a/bruno/collections/Bulk Remove Books - Single Book.bru b/bruno/collections/Bulk Remove Books - Single Book.bru index 0715090..997dee7 100644 --- a/bruno/collections/Bulk Remove Books - Single Book.bru +++ b/bruno/collections/Bulk Remove Books - Single Book.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/{{collection_id}}/books/bulk-remove + url: {{base_url}}/api/collections/{{collection_id}}/books/bulk-remove body: json auth: inherit } diff --git a/bruno/collections/Bulk Remove Books.bru b/bruno/collections/Bulk Remove Books.bru deleted file mode 100644 index db21a99..0000000 --- a/bruno/collections/Bulk Remove Books.bru +++ /dev/null @@ -1,116 +0,0 @@ -meta { - name: Bulk Remove Books from Collection - type: http - seq: 1 -} - -post { - url: {{baseUrl}}/api/collections/{{collection_id}}/books/bulk-remove - body: json - auth: inherit -} - -headers { - Content-Type: application/json - Authorization: Bearer {{authToken}} -} - -body:json { - { - "book_ids": [ - "{{bookId1}}", - "{{bookId2}}", - "{{bookId3}}" - ] - } -} - -script:post-response { - function onResponse(res) { - if (res.getStatus() === 200) { - tests['Bulk remove successful'] = true; - const body = res.getBody(); - tests['Has removed count'] = body.removed !== undefined; - tests['Has total count'] = body.total !== undefined; - tests['Has results array'] = Array.isArray(body.results); - } else { - tests['Bulk remove failed'] = false; - } - } - onResponse(res); -} - -settings { - encodeUrl: true - timeout: 0 -} - -docs { - ## Bulk Remove Books from Collection - - Removes multiple books from a collection in a single request. - - **Method:** POST - - **Endpoint:** /api/collections/{collection_id}/books/bulk-remove - - **Authentication:** Bearer token - - **Path Parameters:** - - `collection_id` (string): Collection UUID - - **Request Body:** - - `book_ids` (array): Array of book UUIDs to remove from the collection - - **Response:** - - `removed` (number): Number of books successfully removed - - `total` (number): Total number of books processed - - `results` (array): Results for each removal attempt - - `book_id` (string): Book UUID - - `success` (boolean): Whether the removal succeeded - - `error` (string, optional): Error message if failed - - **Status Codes:** - - 200: Success (with partial results if some failed) - - 400: Invalid request data (e.g., empty book_ids array) - - 401: Unauthorized - - 403: Forbidden - - 404: Collection not found - - 500: Internal server error - - **Example Request:** - ```json - { - "book_ids": [ - "book-uuid-1", - "book-uuid-2", - "book-uuid-3" - ] - } - ``` - - **Example Response:** - ```json - { - "removed": 2, - "total": 3, - "results": [ - { - "book_id": "book-uuid-1", - "success": true - }, - { - "book_id": "book-uuid-2", - "success": true - }, - { - "book_id": "book-uuid-3", - "success": false, - "error": "Book not in collection" - } - ] - } - ``` - - **Note:** Removing a book that's not in the collection returns success: false for that book but doesn't fail the entire request. Empty book_ids array returns 400. -} diff --git a/bruno/collections/Test Collection Rules - Author Contains.bru b/bruno/collections/Test Collection Rules - Author Contains.bru index 7a0ed11..b0c74fb 100644 --- a/bruno/collections/Test Collection Rules - Author Contains.bru +++ b/bruno/collections/Test Collection Rules - Author Contains.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/test-rules + url: {{base_url}}/api/collections/test-rules body: json auth: inherit } diff --git a/bruno/collections/Test Collection Rules - Copyright Year Greater Than.bru b/bruno/collections/Test Collection Rules - Copyright Year Greater Than.bru index c7f0df9..c636bc7 100644 --- a/bruno/collections/Test Collection Rules - Copyright Year Greater Than.bru +++ b/bruno/collections/Test Collection Rules - Copyright Year Greater Than.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/test-rules + url: {{base_url}}/api/collections/test-rules body: json auth: inherit } diff --git a/bruno/collections/Test Collection Rules - Empty Rules Array.bru b/bruno/collections/Test Collection Rules - Empty Rules Array.bru index 7d4d66e..9ea1c02 100644 --- a/bruno/collections/Test Collection Rules - Empty Rules Array.bru +++ b/bruno/collections/Test Collection Rules - Empty Rules Array.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/test-rules + url: {{base_url}}/api/collections/test-rules body: json auth: inherit } diff --git a/bruno/collections/Test Collection Rules - No Matches.bru b/bruno/collections/Test Collection Rules - No Matches.bru index 7920fc7..791e7a2 100644 --- a/bruno/collections/Test Collection Rules - No Matches.bru +++ b/bruno/collections/Test Collection Rules - No Matches.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/test-rules + url: {{base_url}}/api/collections/test-rules body: json auth: inherit } diff --git a/bruno/collections/Test Collection Rules.bru b/bruno/collections/Test Collection Rules.bru index 2d62e01..365215f 100644 --- a/bruno/collections/Test Collection Rules.bru +++ b/bruno/collections/Test Collection Rules.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/collections/test-rules + url: {{base_url}}/api/collections/test-rules body: json auth: inherit } diff --git a/bruno/conflicts/Bulk Dismiss Conflicts.bru b/bruno/conflicts/Bulk Dismiss Conflicts.bru index c58c1f0..2f182ff 100644 --- a/bruno/conflicts/Bulk Dismiss Conflicts.bru +++ b/bruno/conflicts/Bulk Dismiss Conflicts.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/conflicts/bulk-dismiss + url: {{base_url}}/api/conflicts/bulk-dismiss body: json auth: inherit } diff --git a/bruno/conflicts/Bulk Resolve Conflicts.bru b/bruno/conflicts/Bulk Resolve Conflicts.bru index 57403a2..61a38db 100644 --- a/bruno/conflicts/Bulk Resolve Conflicts.bru +++ b/bruno/conflicts/Bulk Resolve Conflicts.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/conflicts/bulk-resolve + url: {{base_url}}/api/conflicts/bulk-resolve body: json auth: inherit } diff --git a/bruno/conflicts/Bulk Resolve Highest Progress.bru b/bruno/conflicts/Bulk Resolve Highest Progress.bru index 723b9c1..47beac1 100644 --- a/bruno/conflicts/Bulk Resolve Highest Progress.bru +++ b/bruno/conflicts/Bulk Resolve Highest Progress.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/conflicts/bulk-resolve + url: {{base_url}}/api/conflicts/bulk-resolve body: json auth: inherit } diff --git a/bruno/conflicts/Delete Conflict.bru b/bruno/conflicts/Delete Conflict.bru index f2ca131..13dd972 100644 --- a/bruno/conflicts/Delete Conflict.bru +++ b/bruno/conflicts/Delete Conflict.bru @@ -5,7 +5,7 @@ meta { } delete { - url: {{baseUrl}}/api/conflicts/{{conflict_id}} + url: {{base_url}}/api/conflicts/{{conflict_id}} body: none auth: inherit } diff --git a/bruno/conflicts/Dismiss All Resolved.bru b/bruno/conflicts/Dismiss All Resolved.bru index b22fdc6..5895386 100644 --- a/bruno/conflicts/Dismiss All Resolved.bru +++ b/bruno/conflicts/Dismiss All Resolved.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/conflicts/dismiss-all + url: {{base_url}}/api/conflicts/dismiss-all body: none auth: inherit } diff --git a/bruno/conflicts/Get Conflict Details.bru b/bruno/conflicts/Get Conflict Details.bru index a443e89..74f3f1c 100644 --- a/bruno/conflicts/Get Conflict Details.bru +++ b/bruno/conflicts/Get Conflict Details.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/conflicts/{{conflict_id}} + url: {{base_url}}/api/conflicts/{{conflict_id}} body: none auth: inherit } diff --git a/bruno/conflicts/List Conflicts.bru b/bruno/conflicts/List Conflicts.bru index b7c8d04..9616215 100644 --- a/bruno/conflicts/List Conflicts.bru +++ b/bruno/conflicts/List Conflicts.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/conflicts?status=unresolved + url: {{base_url}}/api/conflicts?status=unresolved body: none auth: inherit } diff --git a/bruno/conflicts/Resolve Conflict.bru b/bruno/conflicts/Resolve Conflict.bru index 060a2d9..dd2bb76 100644 --- a/bruno/conflicts/Resolve Conflict.bru +++ b/bruno/conflicts/Resolve Conflict.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/conflicts/{{conflict_id}}/resolve + url: {{base_url}}/api/conflicts/{{conflict_id}}/resolve body: json auth: inherit } diff --git a/bruno/devices/Check Registration Status.bru b/bruno/devices/Check Registration Status.bru index 831581c..bb4fcf3 100644 --- a/bruno/devices/Check Registration Status.bru +++ b/bruno/devices/Check Registration Status.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/devices/register/status + url: {{base_url}}/api/devices/register/status body: json auth: none } diff --git a/bruno/devices/Delete Device.bru b/bruno/devices/Delete Device.bru index 583f840..83bbfb8 100644 --- a/bruno/devices/Delete Device.bru +++ b/bruno/devices/Delete Device.bru @@ -5,7 +5,7 @@ meta { } delete { - url: {{baseUrl}}/api/devices/{{deviceId}} + url: {{base_url}}/api/devices/{{deviceId}} body: none auth: inherit } diff --git a/bruno/devices/Get Device.bru b/bruno/devices/Get Device.bru index 894565e..375d94b 100644 --- a/bruno/devices/Get Device.bru +++ b/bruno/devices/Get Device.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/devices/{{deviceId}} + url: {{base_url}}/api/devices/{{deviceId}} body: none auth: inherit } diff --git a/bruno/devices/List Devices.bru b/bruno/devices/List Devices.bru index 4d1fdef..96e54cd 100644 --- a/bruno/devices/List Devices.bru +++ b/bruno/devices/List Devices.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/devices + url: {{base_url}}/api/devices body: none auth: inherit } diff --git a/bruno/devices/Update Device.bru b/bruno/devices/Update Device.bru index 0eade63..e1abf96 100644 --- a/bruno/devices/Update Device.bru +++ b/bruno/devices/Update Device.bru @@ -5,7 +5,7 @@ meta { } put { - url: {{baseUrl}}/api/devices/{{deviceId}} + url: {{base_url}}/api/devices/{{deviceId}} body: json auth: inherit } diff --git a/bruno/koreader/Get Book Metadata.bru b/bruno/koreader/Get Book Metadata.bru index a693cea..5c0e16d 100644 --- a/bruno/koreader/Get Book Metadata.bru +++ b/bruno/koreader/Get Book Metadata.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/sync/koreader/metadata/{{book_uuid}} + url: {{base_url}}/api/sync/koreader/metadata/{{book_uuid}} body: none auth: inherit } diff --git a/bruno/koreader/Get Library.bru b/bruno/koreader/Get Library.bru index e6d47a8..0a831c5 100644 --- a/bruno/koreader/Get Library.bru +++ b/bruno/koreader/Get Library.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/sync/koreader/library + url: {{base_url}}/api/sync/koreader/library body: none auth: inherit } diff --git a/bruno/koreader/Sync Bookmarks.bru b/bruno/koreader/Sync Bookmarks.bru index 7feb6a4..a7e388e 100644 --- a/bruno/koreader/Sync Bookmarks.bru +++ b/bruno/koreader/Sync Bookmarks.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/sync/koreader/bookmarks + url: {{base_url}}/api/sync/koreader/bookmarks body: json auth: inherit } diff --git a/bruno/koreader/Sync Progress.bru b/bruno/koreader/Sync Progress.bru index 81f7992..af11b6b 100644 --- a/bruno/koreader/Sync Progress.bru +++ b/bruno/koreader/Sync Progress.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/sync/koreader/progress + url: {{base_url}}/api/sync/koreader/progress body: json auth: inherit } diff --git a/bruno/opds/Download Book KEPUB (On-the-fly Conversion).bru b/bruno/opds/Download Book KEPUB (On-the-fly Conversion).bru index bf24083..93b4479 100644 --- a/bruno/opds/Download Book KEPUB (On-the-fly Conversion).bru +++ b/bruno/opds/Download Book KEPUB (On-the-fly Conversion).bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/opds/devices/{{deviceId}}/download/{{mediaItemId}}?format=kepub + url: {{base_url}}/opds/devices/{{deviceId}}/download/{{mediaItemId}}?format=kepub body: none auth: inherit } diff --git a/bruno/sync-kobo/Auto Link Books.bru b/bruno/sync-kobo/Auto Link Books.bru index 5e320e1..484dae2 100644 --- a/bruno/sync-kobo/Auto Link Books.bru +++ b/bruno/sync-kobo/Auto Link Books.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/sync/auto-link-books + url: {{base_url}}/sync/auto-link-books body: json auth: inherit } diff --git a/bruno/sync-kobo/Bulk Link Books.bru b/bruno/sync-kobo/Bulk Link Books.bru index 54a9cfe..ad14e51 100644 --- a/bruno/sync-kobo/Bulk Link Books.bru +++ b/bruno/sync-kobo/Bulk Link Books.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/sync/bulk-link-books + url: {{base_url}}/sync/bulk-link-books body: json auth: inherit } diff --git a/bruno/sync-kobo/Get Unlinked Book Suggestions.bru b/bruno/sync-kobo/Get Unlinked Book Suggestions.bru index 1782981..bb351c8 100644 --- a/bruno/sync-kobo/Get Unlinked Book Suggestions.bru +++ b/bruno/sync-kobo/Get Unlinked Book Suggestions.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/sync/unlinked-books/{{unlinkedBookId}}/suggestions + url: {{base_url}}/sync/unlinked-books/{{unlinkedBookId}}/suggestions body: none auth: inherit } diff --git a/bruno/universal-progress/Get Progress History.bru b/bruno/universal-progress/Get Progress History.bru index c20f1f0..cec5494 100644 --- a/bruno/universal-progress/Get Progress History.bru +++ b/bruno/universal-progress/Get Progress History.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/progress/{{mediaItemId}}/history + url: {{base_url}}/api/progress/{{mediaItemId}}/history body: none auth: inherit } diff --git a/bruno/universal-progress/Get Universal Progress.bru b/bruno/universal-progress/Get Universal Progress.bru index 77614b4..0ec0740 100644 --- a/bruno/universal-progress/Get Universal Progress.bru +++ b/bruno/universal-progress/Get Universal Progress.bru @@ -5,7 +5,7 @@ meta { } get { - url: {{baseUrl}}/api/progress/{{mediaItemId}} + url: {{base_url}}/api/progress/{{mediaItemId}} body: none auth: inherit } diff --git a/bruno/universal-progress/Update Universal Progress.bru b/bruno/universal-progress/Update Universal Progress.bru index 229049e..c917420 100644 --- a/bruno/universal-progress/Update Universal Progress.bru +++ b/bruno/universal-progress/Update Universal Progress.bru @@ -5,7 +5,7 @@ meta { } post { - url: {{baseUrl}}/api/progress/{{mediaItemId}} + url: {{base_url}}/api/progress/{{mediaItemId}} body: json auth: inherit } diff --git a/bruno/websocket_connect.bru b/bruno/websocket_connect.bru index 136604e..ab2b25f 100644 --- a/bruno/websocket_connect.bru +++ b/bruno/websocket_connect.bru @@ -9,7 +9,7 @@ vars { } websocket { - url: {{baseUrl}}/ws/sync?token={{token}} + url: {{base_url}}/ws/sync?token={{token}} body: { type: "ping", timestamp: "2026-01-30T20:00:00Z"