Connect device

Deprecated
Connect to the provided C2C Project.

認証

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/

クエリパラメータ

project_idstringオプション

The project_id you intend to connect to

レスポンス

Succesful response after identifying the device.
_typestringデフォルト値 project_device
Resource type identifier
idstring形式: "uuid"
asset_typestring
The type of asset that this device will be producing
creator_idstring形式: "uuid"
deleted_atstring形式: "date-time"
device_idstring形式: "uuid"
inserted_atstring形式: "date-time"
last_seen_atstring形式: "date-time"
last_known_firmware_versionstring
The last known firmware version reported by the device
namestring<=255 characters
Name of this device as shown in the iOS app and web app
project_idstring形式: "uuid"
The Project ID that this device is linked to
updated_atstring
statusenum
許可された値:
timezonestring
authorizationobject
Authorization details for a project device
projectobject
channelslist of objects
channel_countinteger<=100
path_asset_typestring<=50 characters
path_namestring<=50 characters
required_metadata_attributeslist of strings