GET /api/job_invocations/120
200
{
"id": 120,
"description": null,
"job_category": "Job name 111",
"targeting_id": 134,
"status": 0,
"start_at": null,
"status_label": "succeeded",
"ssh_user": null,
"time_to_pickup": null,
"concurrency_level": null,
"execution_timeout_interval": null,
"dynflow_task": {
"id": "b3b49c19-6f7f-42c5-8024-f35503384fee",
"state": "stopped"
},
"template_id": 1007981712,
"template_name": "Job template 107",
"effective_user": "root",
"succeeded": 0,
"failed": 0,
"pending": 0,
"cancelled": 0,
"total": "N/A",
"missing": 0,
"total_hosts": "N/A",
"targeting": {
"bookmark_id": null,
"bookmark_name": null,
"search_query": "name = foo",
"targeting_type": "static_query",
"user_id": 988725687,
"randomized_ordering": false,
"hosts": [
{
"name": "host92",
"id": 92,
"display_name": "host92"
}
]
},
"task": {
"id": "b3b49c19-6f7f-42c5-8024-f35503384fee",
"state": "stopped",
"started_at": null
},
"mode": "immediate",
"pattern_template_invocations": [
{
"template_id": 1007981712,
"template_name": "Job template 107",
"host_id": null,
"template_invocation_input_values": []
}
],
"job_organization": null,
"job_location": null
}
| Param name | Description |
|---|---|
|
location_id
optional |
Set the current location context for the request Validations:
|
|
organization_id
optional |
Set the current organization context for the request Validations:
|
|
id
required |
Validations:
|
|
host_status
optional |
Show Job status for the hosts Validations:
|