Files
bookhoard/bruno/scanner/Start Scanner.bru
T
john-okeefe 6c33ee4364 feat: add Bruno API testing files for multiple folder functionality
- Add auth/Add Ebook Folder.bru - test adding folders to user account
- Add auth/Get Ebook Folders.bru - test listing user's folders
- Add auth/Delete Ebook Folder.bru - test removing folders
- Add scanner/Scan Ebooks.bru - test manual scanning of multiple folders
- Add scanner/Start Scanner.bru - test starting folder monitoring
- Add scanner/Stop Scanner.bru - test stopping folder monitoring
- Update all scanner endpoints to use folder_paths array format
2026-01-23 09:03:15 -05:00

48 lines
697 B
Plaintext

meta {
name: Start Scanner
type: http
seq: 2
}
post {
url: {{base_url}}/api/scanner/start
body: json
auth: inherit
}
body {
{
"folder_paths": [
"/path/to/ebooks",
"/another/path/to/ebooks"
]
}
}
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
}