Skip to content

Instantly share code, notes, and snippets.

@artyomtrityak
Created December 13, 2017 01:40
Show Gist options
  • Select an option

  • Save artyomtrityak/950aa90f7dde468832c45e022400866f to your computer and use it in GitHub Desktop.

Select an option

Save artyomtrityak/950aa90f7dde468832c45e022400866f to your computer and use it in GitHub Desktop.
[
[{
"operation": "findObjects",
"parameters": {
"objectType": "job",
"computed": true,
"select": [{
"propertyName": "ec_deploymentType"
}, {
"propertyName": "ec_smartDeployOption"
}, {
"propertyName": "ec_enforceDependencies"
}, {
"propertyName": "ec_stageArtifacts"
}, {
"propertyName": "ec_head_app_id"
}, {
"propertyName": "ec_head_service_id"
}, {
"propertyName": "ec_rollbackJob"
}],
"filter": [{
"operator": "and",
"filter": [{
"operator": "isNotNull",
"propertyName": "applicationName"
},
[{
"operator": "and",
"filter": [{
"operator": "equals",
"propertyName": "outcome",
"operand1": "success"
}, {
"operator": "equals",
"propertyName": "status",
"operand1": "completed"
}]
}, {
"operator": "isNotNull",
"propertyName": "applicationName"
}, {
"operator": "equals",
"propertyName": "applicationId",
"operand1": "0561575d-df07-11e7-a713-0050568f29b0"
}, {
"operator": "between",
"propertyName": "finish",
"operand1": "2017-09-12T00:00:00.000Z",
"operand2": "2017-12-12T23:59:59.000Z"
}, {
"operator": "between",
"propertyName": "start",
"operand1": "2017-09-12T00:00:00.000Z",
"operand2": "2017-12-12T23:59:59.000Z"
}]
]
}],
"firstResult": 0,
"maxIds": 50,
"numObjects": 50
},
"requestId": "639"
}], {}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment