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.

Authentification

AuthorizationBearer

Authentification bearer de la forme Bearer <token>, où token est votre jeton d’authentification.

En-têtes

x-client-versionstringOptionnelPar défaut 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/

Réponse

Device information response
_typestringPar défaut 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
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

Erreurs

401
Unauthorized Error