Summary
Compliance Reports totals for a Task Instance.
Description
Compliance Reports totals for a Task Instance.
Route
POST /configuration_manager/json_compliance_reports/history
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
options |
object |
yes |
- |
Copied to Clipboard
{
"options": {
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "v3",
"nodePath": "base/US East/Atlanta",
"taskIds": [
"5f1063d78cf3b62347de4b87",
"5f1063d78cf3b62347de4b87",
"5f1063d78cf3b62347de4b87",
"5f1063d78cf3b62347de4b87"
],
"limit": 61389912
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"options": {
"title": "options",
"type": "object",
"properties": {
"treeId": {
"$ref": "common#/definitions/mongoObjectId"
},
"version": {
"type": "string",
"examples": [
"v3"
]
},
"nodePath": {
"type": "string",
"examples": [
"base/US East/Atlanta"
]
},
"taskIds": {
"type": "array",
"items": {
"type": "string",
"title": "taskIds",
"examples": [
"5f1063d78cf3b62347de4b87"
]
}
},
"limit": {
"type": "integer",
"minimum": 1
}
}
}
},
"required": [
"options"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
complianceHistory |
array |
- |
Copied to Clipboard
[
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "initial",
"nodePath": "base/US East",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 77899752,
"warnings": 38531476,
"infos": 19910889,
"passes": 84125960
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "draft v4",
"nodePath": "base/US East/Atlanta",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 28044167,
"warnings": 23439674,
"infos": 31694038,
"passes": 34197912
}
}
]