Summary
          Get historical graded compliance reports.
          Description
          Get historical graded compliance reports for a device on a node.
          Route
          POST /configuration_manager/compliance_reports/grade/history
          Roles
          
            admin
apiwrite
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | treeId | string | yes | - | 
    | version | string | yes | - | 
    | nodePath | string | yes | - | 
    | deviceName | string | yes | - | 
    | options | object | yes | - | 
            
          
          
            Copied to Clipboard
            
            {
  "treeId": "5c35355dbebaa82eaf8113f0",
  "version": "v3",
  "nodePath": "base/US East",
  "deviceName": "xr9kv-atl",
  "options": {
    "weights": {
      "error": -85806955.49760625,
      "warning": -62190908.11602701,
      "info": 51359716.16680539
    },
    "limit": 59400480
  }
}
           
          
            Copied to Clipboard
            
            {
  "type": "object",
  "properties": {
    "treeId": {
      "title": "treeId",
      "$ref": "common#/definitions/mongoObjectId"
    },
    "version": {
      "title": "version",
      "$ref": "goldenConfigData#/definitions/goldenConfigTreeVersionName"
    },
    "nodePath": {
      "title": "nodePath",
      "$ref": "goldenConfigData#/definitions/goldenConfigNodePath"
    },
    "deviceName": {
      "title": "deviceName",
      "$ref": "deviceData#/definitions/deviceName"
    },
    "options": {
      "title": "options",
      "$ref": "goldenConfigData#/definitions/gradeDeviceComplianceHistoryOptions"
    }
  },
  "required": [
    "treeId",
    "version",
    "nodePath",
    "deviceName",
    "options"
  ],
  "additionalProperties": false
}
           
          Return
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Description | 
            
            
              
                | graded_compliance_history | array | - | 
            
          
          
            Copied to Clipboard
            
            [
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 40140104,
    "warning": 27106233,
    "info": 44157512,
    "pass": 95224203,
    "score": 1.9005716567052078,
    "grade": "pass"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 72727965,
    "warning": 64333616,
    "info": 27800695,
    "pass": 18690056,
    "score": 58.6242161471084,
    "grade": "fail"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 88843540,
    "warning": 70868797,
    "info": 73917019,
    "pass": 809013,
    "score": 9.33873429399461,
    "grade": "review"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 96152586,
    "warning": 49760204,
    "info": 78514216,
    "pass": 2543815,
    "score": 61.09795118196115,
    "grade": "fail"
  }
]