- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
33 lines
840 B
YAML
33 lines
840 B
YAML
info:
|
|
name: Start Watch Mode
|
|
type: http
|
|
seq: 5
|
|
http:
|
|
method: POST
|
|
url: '{{base_url}}/api/scanner/watch/start'
|
|
auth: inherit
|
|
body:
|
|
type: json
|
|
jsonBody: "{\n \"library_id\": \"{{library_id"
|
|
|
|
docs: |-
|
|
## Start Watch Mode
|
|
|
|
Starts real-time file system monitoring for a specific library. New media items will be detected and processed almost instantly.
|
|
|
|
**Method:** POST
|
|
|
|
**Endpoint:** /api/scanner/watch/start
|
|
|
|
**Authentication:** Required (Bearer token, Admin only)
|
|
|
|
**Request Body:**
|
|
- `library_id` (string, required): UUID of the library to watch
|
|
- Example: `"550e8400-e29b-41d4-a716-446655440000"`
|
|
|
|
**Response:** HTTP 200 (OK)
|
|
```json
|
|
{
|
|
"message": "watch mode started for library",
|
|
"library_id": "550e8400-e29b-41d4-a716-446655440000"
|