Connect a new device channel

We can connect a new channel with the following request

認証

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_indexdouble0-100
inserted_atstring形式: "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_capablebooleanデフォルト値 false
statusenum
許可された値:
updated_atstring形式: "date-time"

エラー

401
Unauthorized Error
409
Conflict Error