UserDevice
A phone or tablet the user has signed in on. One row serves both push delivery and the signed-in devices list.
type UserDevice {
id: ID!
platform: String!
name: String!
app_version: String
has_push_token: Boolean!
is_current: Boolean!
last_seen_at: DateTime
revoked_at: DateTime
created_at: DateTime!
}
Fields
UserDevice.id ● ID! non-null scalar
UserDevice.platform ● String! non-null scalar
ios or android.
UserDevice.name ● String! non-null scalar
The device's own name, such as "Michael's iPhone".
UserDevice.app_version ● String scalar
UserDevice.has_push_token ● Boolean! non-null scalar
True when the device has handed us a push token and can receive notifications.
UserDevice.is_current ● Boolean! non-null scalar
True when this row is the device the request was made from.
UserDevice.last_seen_at ● DateTime scalar
UserDevice.revoked_at ● DateTime scalar
UserDevice.created_at ● DateTime! non-null scalar
Returned By
myDevices query ● revokeDevice mutation ● setDevicePushToken mutation
Member Of
RegisterDeviceResult object


