- Remove all ebook-specific API requests (15 files deleted) - Rename Scan Ebooks.bru to Scan Media Items.bru - Update API paths from /api/ebooks to /api/media-items - Update base URL and environment configuration - Maintain all existing media-items, library, auth, and progress tests Aligns Bruno collection with unified media-items API architecture
46 lines
939 B
Plaintext
46 lines
939 B
Plaintext
meta {
|
|
name: Get Scan Settings
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
get {
|
|
url: {{base_url}}/api/library/scan-settings
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
headers {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
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
|
|
}
|