- 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
25 lines
396 B
Plaintext
25 lines
396 B
Plaintext
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"
|
|
}
|
|
}
|
|
} |