From 9262a35f68ca6df112fa41a1701b70c351b89bcc Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Mon, 26 Jan 2026 21:21:43 -0500 Subject: [PATCH] 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 --- bruno/scanner/Scan Ebooks.bru | 19 +++++++++++++++++++ bruno/scanner/Start Scanner.bru | 10 ++++++++++ bruno/scanner/Stop Scanner.bru | 10 ++++++++++ 3 files changed, 39 insertions(+) create mode 100644 bruno/scanner/Scan Ebooks.bru create mode 100644 bruno/scanner/Start Scanner.bru create mode 100644 bruno/scanner/Stop Scanner.bru diff --git a/bruno/scanner/Scan Ebooks.bru b/bruno/scanner/Scan Ebooks.bru new file mode 100644 index 0000000..e557a60 --- /dev/null +++ b/bruno/scanner/Scan Ebooks.bru @@ -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" + ] + } +} \ No newline at end of file diff --git a/bruno/scanner/Start Scanner.bru b/bruno/scanner/Start Scanner.bru new file mode 100644 index 0000000..57e9114 --- /dev/null +++ b/bruno/scanner/Start Scanner.bru @@ -0,0 +1,10 @@ +meta { + name: Start Scanner + type: http + seq: 2 +} + +post { + url: {{base_url}}/api/scanner/start + auth: bearer +} \ No newline at end of file diff --git a/bruno/scanner/Stop Scanner.bru b/bruno/scanner/Stop Scanner.bru new file mode 100644 index 0000000..fc4af6e --- /dev/null +++ b/bruno/scanner/Stop Scanner.bru @@ -0,0 +1,10 @@ +meta { + name: Stop Scanner + type: http + seq: 3 +} + +post { + url: {{base_url}}/api/scanner/stop + auth: bearer +} \ No newline at end of file