diff --git a/bruno/scanner/Scan Media Items.yml b/bruno/scanner/Scan Media Items.yml index 73ac5e8..860e6fa 100644 --- a/bruno/scanner/Scan Media Items.yml +++ b/bruno/scanner/Scan Media Items.yml @@ -2,13 +2,30 @@ info: name: Scan Media Items (Background) type: http seq: 1 + http: method: POST - url: '{{base_url}}/api/scanner/scan' - auth: inherit + url: "{{base_url}}/api/scanner/scan" + headers: + - name: Content-Type + value: application/json + params: + - name: "" + value: "" + type: query body: type: json - jsonBody: "{\n \"folder_paths\": [\"/path/to/media\"]" + data: |- + { + "library_id": "{{library_id}}" + } + auth: inherit + +settings: + encodeUrl: true + timeout: 0 + followRedirects: true + maxRedirects: 5 docs: |- ## Scan Media Items (Background)