Files
bookhoard/bruno-yaml/scanner/Stop Scanner.yml
T

33 lines
769 B
YAML

info:
name: Stop Scanner
type: http
seq: 3
http:
method: POST
url: '{{base_url}}/api/scanner/stop'
auth: inherit
docs: |-
## Stop Scanner
Stops the currently running media scanner service.
**Method:** POST
**Endpoint:** /api/scanner/stop
**Authentication:** Required (Bearer token)
**Response:**
- JSON object containing scanner status
- `status` (string): Scanner state ("stopped", "idle")
- `message` (string): Status message
- `stopped_at` (string): Timestamp when scanner stopped
**Status Codes:**
- 200: Scanner stopped successfully
- 401: Unauthorized
- 403: Forbidden (insufficient permissions)
- 409: Scanner not running
- 500: Internal server error