ナビゲーションにスキップ

デバイス情報

現在のデバイス接続に関する情報を取得します。

認証トークンの検証に使用でき、ユーザーインターフェイスに便利な情報を表示するために、有益な情報を返します。

認証

AuthorizationBearer
`Bearer <token>`形式のBearer認証。tokenは認証トークンです。

ヘッダー

x-client-versionstringオプションデフォルト値 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/

レスポンス

Device information response
_typestringオプションデフォルト値 project_device

リソースタイプの識別子

idstringオプション形式: "uuid"
asset_typestringオプション

このデバイスが生成するアセットの種類

creator_idstringオプション形式: "uuid"
deleted_atstringオプション形式: "date-time"
device_idstringオプション形式: "uuid"
inserted_atstringオプション形式: "date-time"
last_seen_atstringオプション形式: "date-time"
last_known_firmware_versionstringオプション

デバイスが最後に報告したファームウェアバージョン

namestringオプション<=255 characters

iOS アプリと web アプリに表示されるこのデバイスの名前

project_idstringオプション形式: "uuid"

このデバイスがリンクされているプロジェクト ID

updated_atstringオプション
statusenumオプション
許可された値:
timezonestringオプション
authorizationobjectオプション

プロジェクトデバイスの認証の詳細

projectobjectオプション
channelslist of objectsオプション
channel_countintegerオプション<=100
path_asset_typestringオプション<=50 characters
path_namestringオプション<=50 characters
required_metadata_attributeslist of stringsオプション

エラー

401
Unauthorized Error