Retrieve Tasks for a Device

GET /api/v2/devices/996874991/task

RESPONSE:

{ 
  "data": [ 
    { 
      "id": "60d0a5eb31eddd285865a781", 
      "type": "tasks", 
      "attributes": { 
         "function": "UNINSTALL_APP", 
         "created_at": "2021-06-21T14:44:59.247Z",
         "app_id": "60d0aabc31eddd2de579995c" 
         "state": "queued" 
          } 
        } 
     ]
}