Update all library API request files to the current Bruno format with proper settings blocks, updated sequence numbers, and cleaner YAML formatting. Add NewDevDBSetup collection with requests for creating comic, ebook, and manga libraries, user registration, and folder configuration to speed up development environment setup.
39 lines
733 B
YAML
39 lines
733 B
YAML
info:
|
|
name: Delete Library Folder
|
|
type: http
|
|
seq: 13
|
|
|
|
http:
|
|
method: DELETE
|
|
url: "{{base_url}}/api/libraries/{{library_id}}/folders"
|
|
headers:
|
|
- name: ""
|
|
value: application/json
|
|
body:
|
|
type: json
|
|
data: ""
|
|
auth: inherit
|
|
|
|
runtime:
|
|
scripts:
|
|
- type: tests
|
|
code: |-
|
|
test_delete_library_folder_success(status, headers, body) {
|
|
if (status !== 204) {
|
|
throw new Error("Expected status 204, got " + status);
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
|
|
docs: |-
|
|
## Delete Library Folder
|
|
|
|
Removes a folder from a library's scanning configuration.
|
|
|
|
**Method:** DELETE
|
|
|
|
**Endpoint:** /api/libraries/{id
|