Example – Configs

  • GET /api/v2/devices/(serial or UUID)/configs
    • Returns device configuration file information, and a link to retrieve the .tar.gz file containing it.
      • Parameters:
        • start_date – defaults to 10 days ago
        • end_date – defaults to tomorrow (so as to get all data)
        • dates must be YYYY-MM-DD formatted
        {
          "id": "77778332",
          "type": "devices",
          "attributes": {
            "config": {
              "md5sum": "ADFA1341234131341234AFDDDD",
              "name": "config22",
              "description": "Config #22"
            }
          },
          "links": {
            "self": "https://devicehq.com/api/v2/files/5894cd7f95b54a75e732f952"
          }
        }