diff --git a/bruno/library/Get Scan Settings.yml b/bruno/library/Get Scan Settings.yml index baf3cda..35d7432 100644 --- a/bruno/library/Get Scan Settings.yml +++ b/bruno/library/Get Scan Settings.yml @@ -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 diff --git a/bruno/library/Update Scan Settings.yml b/bruno/library/Update Scan Settings.yml index 7410c06..825897b 100644 --- a/bruno/library/Update Scan Settings.yml +++ b/bruno/library/Update Scan Settings.yml @@ -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 diff --git a/docs/developer/api-reference.md b/docs/developer/api-reference.md index bdf4ebc..f726c23 100644 --- a/docs/developer/api-reference.md +++ b/docs/developer/api-reference.md @@ -199,7 +199,7 @@ Content-Type: application/json ### Update Scan Settings ```http -PUT /api/library/scan-settings +PUT /api/libraries/scan-settings Authorization: Bearer Content-Type: application/json