Runtime configuration toggles for system behavior. All endpoints require authentication and system-level scope.
POST /api/v1/config/cacheAuth: Required Scope: system-level
Toggle the Redis cache on or off.
| Field | Type | Required | Description |
|---|---|---|---|
enabled |
boolean | Yes | true to enable, false to disable |
curl -s -X POST "$API/api/v1/config/cache" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{"enabled": false}'
POST /api/v1/config/auto-pipelineAuth: Required Scope: system-level
Toggle automatic processing pipeline trigger on file registration (disabled by default). When enabled, registering a video file automatically creates a monitor job and starts processing.
| Field | Type | Required | Description |
|---|---|---|---|
enabled |
boolean | Yes | true to enable auto-pipeline, false to disable |
# Enable auto-pipeline
curl -s -X POST "$API/api/v1/config/auto-pipeline" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{"enabled": true}'
# Disable auto-pipeline
curl -s -X POST "$API/api/v1/config/auto-pipeline" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{"enabled": false}'
POST /api/v1/config/watcher-auto-registerAuth: Required Scope: system-level
Toggle automatic registration of newly detected files in the watcher (disabled by default). When enabled, the file watcher automatically pre-processes and registers new files into the database.
| Field | Type | Required | Description |
|---|---|---|---|
enabled |
boolean | Yes | true to enable watcher auto-register, false to disable |
# Enable watcher auto-register
curl -s -X POST "$API/api/v1/config/watcher-auto-register" \
-H "Content-Type: application/json" \
-H "X-API-Key: $KEY" \
-d '{"enabled": true}'