Devices
Devices Documentation
Device [LIST]
Device [LIST]
Request
Endpoint
Body
Response
Headers
Body
Fields
data
Type
[Device]
Description An array of Device Objects
Device [POST]
Device [POST]
Request
Endpoint
Body
Parameters
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
Required No
locale
Type
string
Description The locale set on the device (to localize push notifications sent to the device)
Required No
platform
Type
string
Description The platform which the device is registered on (must be either APNS or GCM)
Required No
token
Type
string
Description The token provided by the platform needed for the server to send notifications to the device
Required No
updated_at
Type
date
Description The timestamp of when this resource was last updated
Required No
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
Required No
version
Type
string
Description The version of the client app installed on the device
Required No
Response
Headers
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
locale
Type
string
Description The locale set on the device (to localize push notifications sent to the device)
platform
Type
string
Description The platform which the device is registered on (must be either APNS or GCM)
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
version
Type
string
Description The version of the client app installed on the device
Relationships
user.data
Type
User
Description A user that this device is associated with
Device [GET]
Device [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Type
date
Description The timestamp of when this resource was created
locale
Type
string
Description The locale set on the device (to localize push notifications sent to the device)
platform
Type
string
Description The platform which the device is registered on (must be either APNS or GCM)
updated_at
Type
date
Description The timestamp of when this resource was last updated
updated_in_db_at
Type
date
Description This is to be used as a reference for the last time the resource was updated in the remote database - specifically for when data is updated while the client is offline.
version
Type
string
Description The version of the client app installed on the device
Relationships
user.data
Type
User
Description A user that this device is associated with
Device [DELETE]
Device [DELETE]
Request
Endpoint
Body
Response
Headers
Body
Last updated