fix: correct API endpoint path from /api/library/scan-settings to /api/libraries/scan-settings
- Update endpoint path in Get Scan Settings Bruno collection file - Update endpoint path in Update Scan Settings Bruno collection file - Update endpoint path in API reference documentation This corrects a typo in the API path where 'library' was singular instead of plural.
This commit is contained in:
@@ -19,22 +19,22 @@ settings:
|
||||
|
||||
docs: |-
|
||||
## Get Scan Settings
|
||||
|
||||
|
||||
Retrieves the user's current library scanning settings.
|
||||
|
||||
|
||||
**Method:** GET
|
||||
|
||||
**Endpoint:** /api/library/scan-settings
|
||||
|
||||
|
||||
**Endpoint:** /api/libraries/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
|
||||
|
||||
@@ -26,22 +26,22 @@ settings:
|
||||
|
||||
docs: |-
|
||||
## Update Scan Settings
|
||||
|
||||
|
||||
Updates the user's media scanning settings.
|
||||
|
||||
|
||||
**Method:** PUT
|
||||
|
||||
**Endpoint:** /api/library/scan-settings
|
||||
|
||||
|
||||
**Endpoint:** /api/libraries/scan-settings
|
||||
|
||||
**Authentication:** Required
|
||||
|
||||
|
||||
**Request Body:**
|
||||
- `scan_frequency_minutes` (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
|
||||
|
||||
Reference in New Issue
Block a user