Files
bookhoard/bruno-yaml/scanner/Start Watch Mode.yml
T

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"