List devices in the user’s account. Lists all devices, or those linked to a specific project if using the project path.

Examples

{
  "status" : "success",
  "result" : [
    {
    "id" : 1234,
    "name" : "my device",
    "unit_id" : "DEVICE01"
    "last_used": "2013-11-27 11:23:45",
    "last_used_timestamp": 1385515425,
    },
    {
    "id" : 2345,
    "name" : "my other device",
    "unit_id" : "DEVICE02"
    "last_used": "2013-11-26 11:23:45",
    "last_used_timestamp": 1385429025,
    },
  ]
}

Params

Param name Description
project_id
required

The ID of the project. Required for the projects linked devices count api call

Validations:

  • Must be a Integer