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
+1 -1
View File
@@ -49,5 +49,5 @@ docs {
- Cannot delete the last admin account in the system
- Admin role required to use user_id parameter
**Warning:** This action cannot be undone and will permanently delete all user data including ebooks, ratings, and progress.
**Warning:** This action cannot be undone and will permanently delete all user data including media items, ratings, and progress.
}
+3 -3
View File
@@ -23,11 +23,11 @@ body:json {
script:post-response {
function onResponse(res) {
let data = res.getBody();
// If successful registration, set token environment variable
if (res.getStatus() === 201 || res.getStatus() === 200) {
if (data && data.token) {
return bru.setEnvVar("token", data.token, { persist: true });
if (data && data.access_token) {
return bru.setEnvVar("token", data.access_token, { persist: true });
}
}
}