Job
Manage the jobs in the queue. osapi controller endpoint get --name job shows
the same.
Endpoint group
| Name | job |
| Description | Manage the jobs in the queue |
Methods (4)
| NAME | VERB | PATH | PERMISSION | OPERATION ID |
|---|---|---|---|---|
| list | GET | /api/job | job:read | GetJobs |
| get | GET | /api/job/{id} | job:read | GetJobByID |
| delete | DELETE | /api/job/{id} | job:write | DeleteJobByID |
| retry | POST | /api/job/{id}/retry | job:write | RetryJobByID |
Types (4)
| NAME | INPUT | OUTPUT |
|---|---|---|
| list | ListInput { status, limit, offset } | ListJobsResponse { total_items, status_counts, items } |
| get | GetInput { id } | JobDetailResponse { id, status, created, target, operation, hostname, updated_at, changed, error, result, responses, agent_states, timeline } |
| delete | DeleteInput { id } | |
| retry | RetryInput { id } | CreateJobResponse { job_id, status, revision, timestamp } |