Connect a new device channel

We can connect a new channel with the following request

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/

Requête

Payload
client_idstringRequisformat: "uuid"
device_model_idstringRequisformat: "uuid"

Réponse

Example response
_typestringPar défaut project_device_channel
idstringformat: "uuid"
actor_idstringformat: "uuid"
asset_typeenum
device_idstringformat: "uuid"
external_indexdouble0-100
inserted_atstringformat: "date-time"
namestring

Auto-generated name, based on the device model

project_idstring
The Project ID that this device is linked to
project_device_idstring
real_time_logging_capablebooleanPar défaut false
statusenum
updated_atstringformat: "date-time"

Erreurs

401
Unauthorized Error
409
Conflict Error