Informations sur l'appareil

Récupère des informations relatives à la connexion de l’appareil actuel.

Permet de vérifier le jeton d’autorisation et renvoie des informations utiles à présenter dans l’interface d’utilisation.

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
_typestringOptionnelPar défaut project_device
Identifiant du type de ressource
idstringOptionnelformat: "uuid"
asset_typestringOptionnel

Type d’asset que cet appareil produit

creator_idstringOptionnelformat: "uuid"
deleted_atstringOptionnelformat: "date-time"
device_idstringOptionnelformat: "uuid"
inserted_atstringOptionnelformat: "date-time"
last_seen_atstringOptionnelformat: "date-time"
last_known_firmware_versionstringOptionnel

Dernière version connue du micrologiciel signalée par l’appareil

namestringOptionnel<=255 characters

Nom de cet appareil tel qu’il apparaît dans l’application iOS et l’application web

project_idstringOptionnelformat: "uuid"

ID du projet auquel cet appareil est lié

updated_atstringOptionnel
statusenumOptionnel
timezonestringOptionnel
authorizationobjectOptionnel

Détails d’autorisation d’un appareil associé au projet

projectobjectOptionnel
channelslist of objectsOptionnel
channel_countintegerOptionnel<=100
path_asset_typestringOptionnel<=50 characters
path_namestringOptionnel<=50 characters
required_metadata_attributeslist of stringsOptionnel

Erreurs

401
Unauthorized Error