Description
The timestamp of when this resource was created
Required
No
locale
Typestring
Description
The locale set on the device (to localize push notifications sent to the device)
Required
No
platform
Typestring
Description
The platform which the device is registered on (must be either APNS or GCM)
Required
No
token
Typestring
Description
The token provided by the platform needed for the server to send notifications to the device
Required
No
updated_at
Typedate
Description
The timestamp of when this resource was last updated
Required
No
updated_in_db_at
Typedate
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
Typestring
Description
The version of the client app installed on the device
Required
No
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
locale
Typestring
Description
The locale set on the device (to localize push notifications sent to the device)
platform
Typestring
Description
The platform which the device is registered on (must be either APNS or GCM)
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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
Typestring
Description
The version of the client app installed on the device
Relationships
user.data
TypeUser
Description
A user that this device is associated with
Device [GET]
Device [GET]
Request
Endpoint
Body
Response
Headers
Body
Fields
Attributes
created_at
Typedate
Description
The timestamp of when this resource was created
locale
Typestring
Description
The locale set on the device (to localize push notifications sent to the device)
platform
Typestring
Description
The platform which the device is registered on (must be either APNS or GCM)
updated_at
Typedate
Description
The timestamp of when this resource was last updated
updated_in_db_at
Typedate
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
Typestring
Description
The version of the client app installed on the device
Relationships
user.data
TypeUser
Description
A user that this device is associated with