feat: create Bruno requests for library system API
- Add library management requests (CRUD operations) - Create media items API requests for library content - Implement library visibility controls - Add user library access management - Update deprecated ebook folder endpoints with migration guide - Include comprehensive documentation and test cases - Replace collection.bru with proper dashboard request Complete Bruno collection supporting new multi-library architecture
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: Add Library Folder,
|
||||
type: http,
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: "/api/libraries/{{ _.libraryId }}/folders"
|
||||
headers: {
|
||||
Authorization: "Bearer {{ _.token }}",
|
||||
Content-Type: "application/json"
|
||||
}
|
||||
body: {
|
||||
folder_path: "/path/to/library/media"
|
||||
}
|
||||
}
|
||||
|
||||
tests: {
|
||||
test_add_folder_success: {
|
||||
status: 201,
|
||||
headers: {
|
||||
"content-type": "application/json"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user