新しいデバイスチャネルを接続

次のリクエストで新しいチャネルを接続できます

認証

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/

リクエスト

Payload
client_idstring必須形式: "uuid"
device_model_idstring必須形式: "uuid"

レスポンス

Example response
_typestringオプションデフォルト値 project_device_channel
idstringオプション形式: "uuid"
actor_idstringオプション形式: "uuid"
asset_typeenumオプション
device_idstringオプション形式: "uuid"
external_indexdoubleオプション0-100
inserted_atstringオプション形式: "date-time"
namestringオプション

デバイスモデルに基づいて自動生成される名前

project_idstringオプション

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

project_device_idstringオプション
real_time_logging_capablebooleanオプションデフォルト値 false
statusenumオプション
updated_atstringオプション形式: "date-time"

エラー

401
Unauthorized Error
409
Conflict Error