- Update API field from scan_frequency_minutes to scan_poll_interval_seconds - Update database schema default value key - Update Bruno API collection requests and documentation - Update OpenAPI documentation examples and field descriptions
43 lines
1012 B
YAML
43 lines
1012 B
YAML
info:
|
|
name: Get Scan Settings
|
|
type: http
|
|
seq: 2
|
|
|
|
http:
|
|
method: GET
|
|
url: "{{base_url}}/api/libraries/scan-settings"
|
|
headers:
|
|
- name: ""
|
|
value: application/json
|
|
auth: inherit
|
|
|
|
settings:
|
|
encodeUrl: true
|
|
timeout: 0
|
|
followRedirects: true
|
|
maxRedirects: 5
|
|
|
|
docs: |-
|
|
## Get Scan Settings
|
|
|
|
Retrieves the user's current library scanning settings.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/libraries/scan-settings
|
|
|
|
**Authentication:** Required (Bearer token)
|
|
|
|
**Response:**
|
|
- `scan_poll_interval_seconds` (number): Minutes between automatic scans (minimum 1)
|
|
- `auto_scan_enabled` (boolean): Whether automatic scanning is enabled
|
|
- `last_scan_at` (string, optional): Timestamp of last scan
|
|
- `next_scan_at` (string, optional): Timestamp of next scheduled scan
|
|
- `library_id` (string, optional): Library ID for context
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 401: Unauthorized
|
|
- 403: Forbidden (access denied)
|
|
- 500: Internal server error
|