Sections ▾

GET ​/api​/devices​/:device_id

Get a device by id. device_id can either be the device id or the primary key.

Request

Example Request

{
}

Example Parameters

Response

Example Response

{
  "id": 3,
  "push_token": "cccd7a4c2c92bd73bc0d31f4bde6d73eeadfd30ceba22e8a44425fb40a42bb0a",
  "device_type": "iOS",
  "alias": "iPhone 95932832.422108",
  "device_id": "019283245325",
  "tags": [
    "chaione"
  ],
  "additional_info": {
  },
  "last_profile": {
  },
  "tag_string": "tag1,tag2,tag3",
  "simulator": true,
  "created_at": "2015-01-30T18:47:05+00:00",
  "updated_at": "2015-01-30T18:47:05+00:00"
}

Response Parameters

Response Codes

Successful Response Codes

Failure Response Codes