- 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
26 lines
418 B
Plaintext
26 lines
418 B
Plaintext
meta {
|
|
name: Set Library Visibility,
|
|
type: http,
|
|
seq: 1
|
|
}
|
|
|
|
post {
|
|
url: "/api/libraries/visibility"
|
|
headers: {
|
|
Authorization: "Bearer {{ _.token }}",
|
|
Content-Type: "application/json"
|
|
}
|
|
body: {
|
|
library_id: "{{ _.libraryId }}",
|
|
is_visible: {{ _.isVisible }}
|
|
}
|
|
}
|
|
|
|
tests: {
|
|
test_set_visibility_success: {
|
|
status: 200,
|
|
headers: {
|
|
"content-type": "application/json"
|
|
}
|
|
}
|
|
} |