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:
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
meta {
|
||||||
|
name: Start Scanner
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{base_url}}/api/scanner/start
|
||||||
|
auth: bearer
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
meta {
|
||||||
|
name: Stop Scanner
|
||||||
|
type: http
|
||||||
|
seq: 3
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{base_url}}/api/scanner/stop
|
||||||
|
auth: bearer
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user