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.
49 lines
961 B
YAML
49 lines
961 B
YAML
info:
|
|
name: Update Scan Settings
|
|
type: http
|
|
seq: 9
|
|
|
|
http:
|
|
method: PUT
|
|
url: "{{base_url}}/api/libraries/scan-settings"
|
|
headers:
|
|
- name: ""
|
|
value: application/json
|
|
body:
|
|
type: json
|
|
data: |-
|
|
{
|
|
"scan_poll_interval_seconds": 30,
|
|
"auto_scan_enabled": true
|
|
}
|
|
auth: inherit
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
|
|
docs: |-
|
|
## Update Scan Settings
|
|
|
|
Updates the user's media scanning settings.
|
|
|
|
**Method:** PUT
|
|
|
|
**Endpoint:** /api/libraries/scan-settings
|
|
|
|
**Authentication:** Required
|
|
|
|
**Request Body:**
|
|
- `scan_poll_interval_seconds` (integer, required): Minutes between automatic scans (15-1440)
|
|
- `auto_scan_enabled` (boolean, required): Whether automatic scanning is enabled
|
|
|
|
**Response:**
|
|
- `message` (string): Success message
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Invalid settings
|
|
- 401: Unauthorized
|