Files
bookhoard/bruno-yaml/scanner/Get Scan Status.yml
T

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"