设备信息

获取当前设备连接的信息。

可用于验证授权令牌,并返回有助于在用户界面中展示有用信息的内容。

身份验证

AuthorizationBearer

Bearer 身份验证,格式为 Bearer <token>,其中 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