Connecter un nouveau canal d’appareil

Nous pouvons connecter un nouveau canal avec la requête suivante

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

Nom généré automatiquement, basé sur le modèle de l’appareil

project_idstring

ID du projet auquel cet appareil est lié

project_device_idstring
real_time_logging_capablebooleanPar défaut false
statusenum
updated_atstringformat: "date-time"

Erreurs

401
Unauthorized Error
409
Conflict Error