Documentation

← Back to site

List all devices

Last updated on March 17, 2015 16:02

This method lists all internet connected (gateway) devices in your account.

URL

/api/v1/devices/list

Parameters

No parameters are required.

Response

Details about all gateway devices in the account, along with information about available firmware upgrades.

[
  {
    "user_id":5,
    "id":15,
    "mac_address":"112233445566",
    "ip_address":"1.2.3.4",
    "port":1234,
    "label":"Example Gateway",
    "created_at":"2015-03-10T15:32:33.000Z",
    "updated_at":"2015-03-12T13:48:42.000Z",
    "auth_code":"12345678",
    "firmware_version_id":1,
    "device_type":"gateway",
    "last_seen_at":null,
    "running_firmware_version_id":1,
    "available_firmware_update": {
      "id":2,
      "version_number":"v2.0",
      "data":"...",
      "enabled":true,
      "device_type":"gateway",
      "remote_id":"2bbbbbbb"
    }
  }
]