Files
bookhoard/bruno-yaml/library/Get Scan Settings.yml
T

38 lines
971 B
YAML

info:
name: Get Scan Settings
type: http
seq: 2
http:
method: GET
url: '{{base_url}}/api/library/scan-settings'
auth: inherit
body:
type: none
headers:
- key: Content-Type
value: application/json
docs: |-
## Get Scan Settings
Retrieves the user's current library scanning settings.
**Method:** GET
**Endpoint:** /api/library/scan-settings
**Authentication:** Required (Bearer token)
**Response:**
- `scan_frequency_minutes` (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