- 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
34 lines
806 B
YAML
34 lines
806 B
YAML
info:
|
|
name: Get Scan Status
|
|
type: http
|
|
seq: 4
|
|
http:
|
|
method: GET
|
|
url: '{{base_url}}/api/scanner/status/{{job_id}}'
|
|
auth: inherit
|
|
|
|
docs: |-
|
|
## Get Scan Status
|
|
|
|
Retrieves the status and progress of an asynchronous scan job.
|
|
|
|
**Method:** GET
|
|
|
|
**Endpoint:** /api/scanner/status/:jobId
|
|
|
|
**Authentication:** Required (Bearer token, Admin only)
|
|
|
|
**URL Parameters:**
|
|
- `jobId` (string, required): The job ID returned from the scan endpoint
|
|
- Example: `550e8400-e29b-41d4-a716-446655440000`
|
|
|
|
**Response:**
|
|
```json
|
|
{
|
|
"job_id": "550e8400-e29b-41d4-a716-446655440000",
|
|
"status": "completed",
|
|
"error": "",
|
|
"result": {
|
|
"message": "scan completed",
|
|
"library_id": "550e8400-e29b-41d4-a716-446655440000"
|