Summary
          Get historical graded compliance reports.
          Description
          Get historical graded compliance reports for a task instance on a node.
          Route
          POST /configuration_manager/json_compliance_reports/grade/history
          Roles
          
            admin
apiwrite
          
          Parameters
          
            DetailsExampleSchema
          
          
            
              
                | Name | Type | Required | Description | 
            
            
              
    | treeId | string | yes | - | 
    | version | string | yes | - | 
    | nodePath | string | yes | - | 
    | taskId | string | yes | - | 
    | options | object | yes | - | 
            
          
          
            Copied to Clipboard
            
            {
  "treeId": "5c35355dbebaa82eaf8113f0",
  "version": "initial",
  "nodePath": "base/US East",
  "taskId": "5f80bd24f8479975bb46054d",
  "options": {
    "weights": {
      "error": -27372015.589724123,
      "warning": 33330812.8557968,
      "info": 47991360.5199818
    },
    "limit": 75271653
  }
}
           
          
            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"
    },
    "taskId": {
      "title": "taskId",
      "type": "string",
      "examples": [
        "5f80bd24f8479975bb46054d"
      ]
    },
    "options": {
      "title": "options",
      "$ref": "goldenConfigData#/definitions/gradeDeviceComplianceHistoryOptions"
    }
  },
  "required": [
    "treeId",
    "version",
    "nodePath",
    "taskId",
    "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": 22040155,
    "warning": 61628505,
    "info": 59189465,
    "pass": 99204064,
    "score": 8.189527283984589,
    "grade": "pass"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 57202547,
    "warning": 56849859,
    "info": 65202050,
    "pass": 61711342,
    "score": 89.08441573471819,
    "grade": "fail"
  },
  {
    "id": "5c35355dbebaa82eaf8113f0",
    "nodePath": "base/US East/Atlanta",
    "deviceName": "xr9kv-atl",
    "timestamp": "2019-04-12T14:42:47.958Z",
    "error": 49689283,
    "warning": 95017561,
    "info": 75024418,
    "pass": 28994298,
    "score": 0.673741029699082,
    "grade": "pass"
  }
]