Device Information

Fetches information about the current device connection. Can be used to verify authorization token and returns information useful to present useful information in your user interface.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

x-client-versionstringOptionalDefaults to 0.0.0
Firmware or software version of a C2C integration. Will be used to determine the correct Device Model configuration for the device when multiple are available. Must be a valid semantic version. For more on semantic versions, see here: https://semver.org/

Response

Device information response
_typestringDefaults to project_device
Resource type identifier
idstringformat: "uuid"
asset_typestring
The type of asset that this device will be producing
creator_idstringformat: "uuid"
deleted_atstringformat: "date-time"
device_idstringformat: "uuid"
inserted_atstringformat: "date-time"
last_seen_atstringformat: "date-time"
last_known_firmware_versionstring
The last known firmware version reported by the device
namestring<=255 characters
Name of this device as shown in the iOS app and web app
project_idstringformat: "uuid"
The Project ID that this device is linked to
updated_atstring
statusenum
Allowed values:
timezonestring
authorizationobject
Authorization details for a project device
projectobject
channelslist of objects
channel_countinteger<=100
path_asset_typestring<=50 characters
path_namestring<=50 characters
required_metadata_attributeslist of strings

Errors

401
Unauthorized Error