通过项目唯一标识符获取设备类型列表
# 通过项目唯一标识符获取设备类型列表
# 基本信息
API Path /giot/v2/projects/{projectId}/deviceTypes
请求协议 HTTP
请求方法 GET
Rest参数:
| 参数名 | 说明 | 必填 | 类型 | 值可能性 | 限制 | 示例 |
|---|---|---|---|---|---|---|
| projectId | 项目id | 是 | [string] |
返回结果
成功示例:
{
"WeatherDetectionEquipment":"气象监测设备" //key:value 设备类型Code:设备类型名称
,"EnvironmentControlEquipment":"环境监测设备"
}
1
2
3
4
2
3
4
失败示例:
{
"code": 500,
"message": "xxxxxxxxxx",
"key": null
}
1
2
3
4
5
2
3
4
5
上次更新: 2021-12-01 16:48:01