feat: Restore manual scanner requests for testing

- Recreate Scan Ebooks request with optional folder_paths parameter
- Recreate Start Scanner request for real-time monitoring
- Recreate Stop Scanner request for monitoring control
- All scanner requests remain admin-only as intended
- Essential for testing ebook discovery and scanning functionality
This commit is contained in:
2026-01-26 21:21:43 -05:00
parent cdee6a1aef
commit 9262a35f68
3 changed files with 39 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
meta {
name: Scan Ebooks
type: http
seq: 1
}
post {
url: {{base_url}}/api/scanner/scan
body: json
auth: bearer
}
body:json {
{
"folder_paths": [
"/path/to/test/ebook/folder"
]
}
}
+10
View File
@@ -0,0 +1,10 @@
meta {
name: Start Scanner
type: http
seq: 2
}
post {
url: {{base_url}}/api/scanner/start
auth: bearer
}
+10
View File
@@ -0,0 +1,10 @@
meta {
name: Stop Scanner
type: http
seq: 3
}
post {
url: {{base_url}}/api/scanner/stop
auth: bearer
}