Summary
Get compliance report metadata for a batch.
Description
Get compliance report metadata by batch ID.
Route
GET /configuration_manager/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": "v2",
"nodePath": "base",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 36990660,
"warnings": 14683433,
"infos": 69439648,
"passes": 19085093
}
},
{
"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": 51603551,
"warnings": 88383995,
"infos": 93239447,
"passes": 53557808
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "initial",
"nodePath": "base/US East/Atlanta",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 50578710,
"warnings": 96611797,
"infos": 91759534,
"passes": 45506984
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "draft v4",
"nodePath": "base",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 62667870,
"warnings": 28953609,
"infos": 47607765,
"passes": 23266362
}
},
{
"id": "5c35355dbebaa82eaf8113f0",
"batchId": "5c35355dbebaa82eaf8113f0",
"treeId": "5c35355dbebaa82eaf8113f0",
"version": "draft v4",
"nodePath": "base",
"deviceName": "xr9kv-atl",
"timestamp": "2019-04-12T14:42:47.958Z",
"totals": {
"errors": 59302609,
"warnings": 69372949,
"infos": 75521091,
"passes": 61927515
}
}
]