This endpoint retrieves the list of pending jobs along with their expiry information. The maximum polling frequency of 299 seconds still holds.
Request Endpoint
GET
https://<appliance_ip>/inspections/jobs/pending
Call Example
curl -X 'GET' \
'https://<appliance_ip>/inspections/jobs/pending' \
-H 'accept: application/json'
Response Example
#200 Response
[
{
"jobid": "b605a1a6-6d76-473c-9fed-bbee568462c2",
"expiry": 100
},
{
"jobid": "a705b3b6-7dfd-473c-9abc-ccdd568464c4",
"expiry": 300
}
]
#404 Response
string
#500 Response
Failed to retrieve the list of pending jobs
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | The request was successfully completed, and the results are provided as a json array containing the list of pending jobs along with their associated expiry information. | Inline |
| 404 | Not Found | Not found. | string |
| 500 | Internal Server Error | An error occurred while getting the result. The response contains the error that caused the request to be rejected, if available. | string |
| 503 | Service Unavailable | No resources are available to perform the request. | None |
Response Schema
Status Code 200
An array of pending job objects containing job identifier and expiry details.
| Name | Type | Required | Restrictions | Description |
|---|---|---|---|---|
| » jobid | string | true | none | Unique identifier for the pending job. |
| » expiry | integer | true | none | Duration in seconds until the job expires. |

