- Remove example request body template - Improve documentation spacing and formatting - Clarify API endpoint usage and response structure
40 lines
609 B
Plaintext
40 lines
609 B
Plaintext
meta {
|
|
name: Start Scanner
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{base_url}}/api/scanner/start
|
|
body: json
|
|
auth: inherit
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
## Start Scanner
|
|
|
|
Starts monitoring the specified folders for ebook changes.
|
|
|
|
**Method:** POST
|
|
|
|
**Endpoint:** /api/scanner/start
|
|
|
|
**Authentication:** Required
|
|
|
|
**Request Body:**
|
|
- `folder_paths` (array of strings, required): Array of folder paths to monitor
|
|
|
|
**Response:**
|
|
- `message` (string): Success message
|
|
|
|
**Status Codes:**
|
|
- 200: Success
|
|
- 400: Bad Request
|
|
- 401: Unauthorized
|
|
}
|