Device
Contains information about a Device in the system
type Device {
id: ID!
account: Account!
label: String!
lastPosition: PositionHistory!
type: String
services: DeviceServices!
tags: [Tag!]
profile: DeviceProfile
createdAt: DateTime!
updatedAt: DateTime
}
Fields
Device.id ● ID! non-null scalar common
The Primary ID for the Device
Device.account ● Account! non-null object common
The Account the Device is associated with
Device.label ● String! non-null scalar common
The custom Label given to the Device
Device.lastPosition ● PositionHistory! non-null object position
The historical position data for the Device
Device.type ● String scalar common
The custom type given to the Device
Device.services ● DeviceServices! non-null object devices
The Services available to the Device
Device.tags ● [Tag!] list object devices
The list of tags assigned to this device
Device.profile ● DeviceProfile object device-profiles
The DeviceProfile assigned to the Device
Device.createdAt ● DateTime! non-null scalar common
The datetime the Device was created
Device.updatedAt ● DateTime scalar common
The datetime the Device was last updated (if applicable)
Returned By
createDevice mutation ● createDevices mutation ● device query ● device subscription ● devices subscription ● setDeviceProfile mutation ● unsetDeviceProfile mutation ● updateDevice mutation
Member Of
DevicePage object ● License object