- 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
27 lines
440 B
Plaintext
27 lines
440 B
Plaintext
meta {
|
|
name: Create Library,
|
|
type: http,
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: "/api/libraries"
|
|
headers: {
|
|
Authorization: "Bearer {{ _.token }}",
|
|
Content-Type: "application/json"
|
|
}
|
|
body: {
|
|
name: "My Ebook Library",
|
|
description: "A collection of technical books and novels",
|
|
type: "ebooks"
|
|
}
|
|
}
|
|
|
|
tests: {
|
|
test_create_library_success: {
|
|
status: 201,
|
|
headers: {
|
|
"content-type": "application/json"
|
|
}
|
|
}
|
|
} |