Use this API to get a list of runs for a particular deployment job.
Parameter |
Mandatory/Optional |
Data Type |
Description |
---|---|---|---|
deploymentJobId |
Mandatory |
string |
Get a list of the deployment job result runs for the deployment job ID that you have specified. |
API request
curl -X GET
"https://gateway.qg2.apps.qualys.com/pm/v1/deploymentjob/b6fd7a02-1b08-40d0-8504-2bb6bcc36ff8/runs" -H "accept: application/json" -H "Authorization: Bearer <<jwt token>>"
Response
[
{
"jobInstanceId": 22,
"scheduledDateTime": "2022-07-15T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 21,
"scheduledDateTime": "2022-07-14T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 20,
"scheduledDateTime": "2022-07-13T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 19,
"scheduledDateTime": "2022-07-12T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 18,
"scheduledDateTime": "2022-07-11T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 17,
"scheduledDateTime": "2022-07-10T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 16,
"scheduledDateTime": "2022-07-09T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 15,
"scheduledDateTime": "2022-07-08T02:30:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 14,
"scheduledDateTime": "2022-07-07T09:00:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
},
{
"jobInstanceId": 13,
"scheduledDateTime": "2022-07-06T09:00:00.000+00:00",
"timezoneType": "SPECIFIC_TZ"
}
]