Summary
Get compliance report metadata for a batch.
Description
Get compliance report metadata by batch ID.
Route
GET /configuration_manager/json_compliance_reports/batch/:batchId
Roles
admin
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
batchId |
string |
yes |
- |
Copied to Clipboard
{
"type": "object",
"properties": {},
"required": [],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
complianceHistory |
array |
- |
Copied to Clipboard
[
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "draft v4",
"nodePath": "base",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 9830385,
"warnings": 33110131,
"infos": 98047415,
"passes": 27380363
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "v3",
"nodePath": "base/US East",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 1309452,
"warnings": 96475912,
"infos": 54680030,
"passes": 2020412
}
}
]