chore: Clean up and reorganize Bruno collection after rebuild
- Remove duplicate Get Admin Dashboard.bru (same as /admin route) - Reorder sequence numbers for logical grouping - Add missing body: none to GET requests - Standardize folder path examples to /app/uploads - Fix file formatting and add missing newlines
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
meta {
|
meta {
|
||||||
name: Add Ebook Folder
|
name: Add Ebook Folder
|
||||||
type: http
|
type: http
|
||||||
seq: 8
|
seq: 1
|
||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
@@ -12,7 +12,7 @@ post {
|
|||||||
|
|
||||||
body:json {
|
body:json {
|
||||||
{
|
{
|
||||||
"folder_path": "/path/to/ebooks"
|
"folder_path": "/app/uploads"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -53,4 +53,4 @@ docs {
|
|||||||
- Path normalization for consistent storage
|
- Path normalization for consistent storage
|
||||||
- Supports both absolute paths and home directory (~) paths
|
- Supports both absolute paths and home directory (~) paths
|
||||||
- Prevents duplicate folders for the same user
|
- Prevents duplicate folders for the same user
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
meta {
|
meta {
|
||||||
name: Delete Ebook Folder
|
name: Delete Ebook Folder
|
||||||
type: http
|
type: http
|
||||||
seq: 10
|
seq: 3
|
||||||
}
|
}
|
||||||
|
|
||||||
delete {
|
delete {
|
||||||
@@ -51,4 +51,4 @@ docs {
|
|||||||
- Path normalization for matching
|
- Path normalization for matching
|
||||||
- Supports both absolute paths and home directory (~) paths
|
- Supports both absolute paths and home directory (~) paths
|
||||||
- Prevents deletion of non-existent folders
|
- Prevents deletion of non-existent folders
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +0,0 @@
|
|||||||
meta {
|
|
||||||
name: Get Admin Dashboard
|
|
||||||
type: http
|
|
||||||
seq: 10
|
|
||||||
}
|
|
||||||
|
|
||||||
get {
|
|
||||||
url: {{base_url}}/admin
|
|
||||||
auth: bearer
|
|
||||||
}
|
|
||||||
@@ -1,10 +1,11 @@
|
|||||||
meta {
|
meta {
|
||||||
name: Get Admin Library
|
name: Get Admin Library
|
||||||
type: http
|
type: http
|
||||||
seq: 12
|
seq: 5
|
||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: {{base_url}}/admin/library
|
url: {{base_url}}/admin/library
|
||||||
|
body: none
|
||||||
auth: bearer
|
auth: bearer
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
meta {
|
meta {
|
||||||
name: Get Admin Profile
|
name: Get Admin Profile
|
||||||
type: http
|
type: http
|
||||||
seq: 11
|
seq: 4
|
||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: {{base_url}}/admin/profile
|
url: {{base_url}}/admin/profile
|
||||||
|
body: none
|
||||||
auth: bearer
|
auth: bearer
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
meta {
|
meta {
|
||||||
name: Get Ebook Folders
|
name: Get Ebook Folders
|
||||||
type: http
|
type: http
|
||||||
seq: 9
|
seq: 2
|
||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
@@ -43,4 +43,4 @@ docs {
|
|||||||
- Returns all folders configured for the user
|
- Returns all folders configured for the user
|
||||||
- Useful for folder management interfaces
|
- Useful for folder management interfaces
|
||||||
- Empty array returned if no folders configured
|
- Empty array returned if no folders configured
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user