refactor(bruno): reorganize file structure from bruno-yaml to flat bruno directory
- Move all files from bruno-yaml/* to bruno/* - Maintains existing directory structure within categories - Updates bruno/user/auth files with OAuth2 refresh token flow - Updates bruno/user/profile files for user profile management - Adds bruno/dashboard/ directory with dashboard API tests - Preserves all existing test scenarios and OpenCollection YAML format - No functional changes - file reorganization only
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
info:
|
||||
name: Scan Media Items (Background)
|
||||
type: http
|
||||
seq: 1
|
||||
http:
|
||||
method: POST
|
||||
url: '{{base_url}}/api/scanner/scan'
|
||||
auth: inherit
|
||||
body:
|
||||
type: json
|
||||
jsonBody: "{\n \"folder_paths\": [\"/path/to/media\"]"
|
||||
|
||||
docs: |-
|
||||
## Scan Media Items (Background)
|
||||
|
||||
Triggers an asynchronous media items scanning operation. The scan runs in the background and can be monitored using the job ID.
|
||||
|
||||
**Method:** POST
|
||||
|
||||
**Endpoint:** /api/scanner/scan
|
||||
|
||||
**Authentication:** Required (Bearer token, Admin only)
|
||||
|
||||
**Request Body:**
|
||||
- `folder_paths` (array of strings, required): List of folder paths to scan
|
||||
- Example: `["/path/to/media", "/another/path"]`
|
||||
|
||||
**Response:** HTTP 202 (Accepted)
|
||||
```json
|
||||
{
|
||||
"message": "scan job enqueued",
|
||||
"job_id": "550e8400-e29b-41d4-a716-446655440000",
|
||||
"status": "pending"
|
||||
Reference in New Issue
Block a user