设备接入 IOTDA-授权项列表
授权项列表
API分组 |
权限 |
API |
授权项(Action) |
产品管理 |
创建产品 |
POST /v5/iot/{project_id}/products |
iotda:products:create |
查询产品列表 |
GET /v5/iot/{project_id}/products |
iotda:products:queryList |
|
查询产品 |
GET /v5/iot/{project_id}/products/{product_id} |
iotda:products:query |
|
修改产品 |
PUT /v5/iot/{project_id}/products/{product_id} |
iotda:products:modify |
|
删除产品 |
DELETE /v5/iot/{project_id}/products/{product_id} |
iotda:products:delete |
|
设备管理 |
创建设备 |
POST /v5/iot/{project_id}/devices |
iotda:devices:register |
查询设备列表 |
GET /v5/iot/{project_id}/devices |
iotda:devices:queryList |
|
查询设备 |
GET /v5/iot/{project_id}/devices/{device_id} |
iotda:devices:query |
|
修改设备 |
PUT /v5/iot/{project_id}/devices/{device_id} |
iotda:devices:modify |
|
删除设备 |
DELETE /v5/iot/{project_id}/devices/{device_id} |
iotda:devices:delete |
|
重置设备密钥 |
POST /v5/iot/{project_id}/devices/{device_id}/action |
iotda:devices:resetSecret |
|
冻结设备 |
POST /v5/iot/{project_id}/devices/{device_id}/freeze |
iotda:devices:freeze |
|
解冻设备 |
POST /v5/iot/{project_id}/devices/{device_id}/unfreeze |
iotda:devices:unfreeze |
|
重置设备指纹 |
POST /v5/iot/{project_id}/devices/{device_id}/reset-fingerprint |
iotda:devices:resetFingerprint |
|
灵活搜索设备列表 |
POST /v5/iot/{project_id}/search/query-devices |
iotda:devices:queryList |
|
设备消息管理 |
下发设备消息 |
POST /v5/iot/{project_id}/devices/{device_id}/messages |
iotda:messages:send |
查询设备消息 |
GET /v5/iot/{project_id}/devices/{device_id}/messages |
iotda:messages:queryList |
|
查询指定消息id的消息 |
GET /v5/iot/{project_id}/devices/{device_id}/messages/{message_id} |
iotda:messages:query |
|
下发广播消息 |
POST /v5/iot/{project_id}/broadcast-messages |
iotda:message:broadcast |
|
设备命令管理 |
下发设备命令 |
POST /v5/iot/{project_id}/devices/{device_id}/commands |
iotda:commands:send |
下发异步设备命令 |
POST /v5/iot/{project_id}/devices/{device_id}/async-commands |
iotda:asynccommands:send |
|
查询指定id的命令 |
GET /v5/iot/{project_id}/devices/{device_id}/async-commands/{command_id} |
iotda:asynccommands:query |
|
设备属性管理 |
修改设备属性 |
PUT /v5/iot/{project_id}/devices/{device_id}/properties |
iotda:properties:modify |
查询设备属性 |
GET /v5/iot/{project_id}/devices/{device_id}/properties |
iotda:properties:query |
|
设备影子 |
查询设备影子数据 |
GET /v5/iot/{project_id}/devices/{device_id}/shadow |
iotda:shadow:query |
配置设备影子预期数据 |
PUT /v5/iot/{project_id}/devices/{device_id}/shadow |
iotda:shadow:config |
|
AMQP队列管理 |
创建AMQP队列 |
POST /v5/iot/{project_id}/amqp-queues |
iotda:amqpqueue:create |
查询AMQP列表 |
GET /v5/iot/{project_id}/amqp-queues |
iotda:amqpqueue:queryList |
|
查询单个AMQP队列 |
GET /v5/iot/{project_id}/amqp-queues/{queue_id} |
iotda:amqpqueue:query |
|
删除AMQP队列 |
DELETE /v5/iot/{project_id}/amqp-queues/{queue_id} |
iotda:amqpqueue:delete |
|
接入码管理 |
生成接入凭证 |
POST /v5/iot/{project_id}/auth/accesscode |
iotda:accesscode:create |
流转规则管理 |
创建规则触发条件 |
POST /v5/iot/{project_id}/routing-rule/rules |
iotda:routingrules:create |
查询规则条件列表 |
GET /v5/iot/{project_id}/routing-rule/rules |
iotda:routingrules:queryList |
|
查询规则条件 |
GET /v5/iot/{project_id}/routing-rule/rules/{rule_id} |
iotda:routingrules:query |
|
修改规则触发条件 |
PUT /v5/iot/{project_id}/routing-rule/rules/{rule_id} |
iotda:routingrules:modify |
|
删除规则触发条件 |
DELETE /v5/iot/{project_id}/routing-rule/rules/{rule_id} |
iotda:routingrules:delete |
|
流转规则动作管理 |
创建规则动作 |
POST /v5/iot/{project_id}/routing-rule/actions |
iotda:routingactions:create |
查询规则动作列表 |
GET /v5/iot/{project_id}/routing-rule/actions |
iotda:routingactions:queryList |
|
查询规则动作 |
GET /v5/iot/{project_id}/routing-rule/actions/{action_id} |
iotda:routingactions:query |
|
修改规则动作 |
PUT /v5/iot/{project_id}/routing-rule/actions/{action_id} |
iotda:routingactions:modify |
|
删除规则动作 |
DELETE /v5/iot/{project_id}/routing-rule/actions/{action_id} |
iotda:routingactions:delete |
|
联动规则管理 |
创建规则 |
POST /v5/iot/{project_id}/rules |
iotda:rules:create |
查询规则列表 |
GET /v5/iot/{project_id}/rules |
iotda:rules:queryList |
|
修改规则 |
PUT /v5/iot/{project_id}/rules/{rule_id} |
iotda:rules:modify |
|
查询规则 |
GET /v5/iot/{project_id}/rules/{rule_id} |
iotda:rules:query |
|
删除规则 |
DELETE /v5/iot/{project_id}/rules/{rule_id} |
iotda:rules:delete |
|
修改规则状态 |
PUT /v5/iot/{project_id}/rules/{rule_id}/status |
iotda:rules:modifyStatus |
|
群组管理 |
添加设备组 |
POST /v5/iot/{project_id}/device-group |
iotda:group:create |
查询设备组列表 |
GET /v5/iot/{project_id}/device-group |
iotda:group:queryList |
|
查询设备组 |
GET /v5/iot/{project_id}/device-group/{group_id} |
iotda:group:query |
|
修改设备组 |
PUT /v5/iot/{project_id}/device-group/{group_id} |
iotda:group:modify |
|
删除设备组 |
DELETE /v5/iot/{project_id}/device-group/{group_id} |
iotda:group:delete |
|
管理设备组中的设备 |
POST /v5/iot/{project_id}/device-group/{group_id}/action |
iotda:group:addDevice |
|
查询设备组设备列表 |
GET /v5/iot/{project_id}/device-group/{group_id}/devices |
iotda:group:queryDeviceList |
|
设备标签管理 |
绑定标签 |
POST /v5/iot/{project_id}/tags/bind-resource |
iotda:tags:bind |
解绑标签 |
POST /v5/iot/{project_id}/tags/unbind-resource |
iotda:tags:unbind |
|
按标签查询资源 |
POST /v5/iot/{project_id}/tags/query-resources |
iotda:tags:query |
|
资源空间管理 |
查询资源空间列表 |
GET /v5/iot/{project_id}/apps |
iotda:apps:queryList |
创建资源空间 |
POST /v5/iot/{project_id}/apps |
iotda:app:create |
|
查询资源空间 |
GET /v5/iot/{project_id}/apps/{app_id} |
iotda:apps:query |
|
删除资源空间 |
DELETE /v5/iot/{project_id}/apps/{app_id} |
iotda:apps:delete |
|
批量任务管理 |
创建批量任务 |
POST /v5/iot/{project_id}/batchtasks |
iotda:batchtasks:create |
查询批量任务列表 |
GET /v5/iot/{project_id}/batchtasks |
iotda:batchtasks:queryList |
|
查询批量任务 |
GET /v5/iot/{project_id}/batchtasks/{task_id} |
iotda:batchtasks:query |
|
批量任务重试 |
POST /v5/iot/{project_id}/batchtasks/{task_id}/retry |
iotda:batchtasks:retry |
|
批量任务停止 |
POST /v5/iot/{project_id}/batchtasks/{task_id}/stop |
iotda:batchtasks:stop |
|
删除批量任务 |
DELETE /v5/iot/{project_id}/batchtasks/{task_id} |
iotda:batchtasks:delete |
|
批量任务文件管理 |
上传批量任务文件 |
POST /v5/iot/{project_id}/batchtask-files |
iotda:batchtasks:stop |
查询批量任务文件列表 |
GET /v5/iot/{project_id}/batchtask-files |
iotda:batchtaskfiles:queryList |
|
删除批量任务文件 |
DELETE /v5/iot/{project_id}/batchtask-files/{file_id} |
iotda:batchtaskfiles:delete |
|
证书管理 |
上传设备CA证书 |
POST /v5/iot/{project_id}/certificates |
iotda:certificates:upload |
获取设备CA证书列表 |
GET /v5/iot/{project_id}/certificates |
iotda:certificates:queryList |
|
删除设备CA证书 |
DELETE /v5/iot/{project_id}/certificates/{certificate_id} |
iotda:certificates:delete |
|
验证设备CA证书 |
POST /v5/iot/{project_id}/certificates/{certificate_id}/action |
iotda:certificates:check |
|
软固件升级包管理 |
创建OTA升级包 |
POST /v5/iot/{project_id}/ota-upgrades/packages |
iotda:otapackages:create |
查询OTA升级包列表 |
GET /v5/iot/{project_id}/ota-upgrades/packages |
iotda:otapackages:queryList |
|
获取OTA升级包详情 |
GET /v5/iot/{project_id}/ota-upgrades/packages/{package_id} |
iotda:otapackages:query |
|
删除OTA升级包 |
DELETE /v5/iot/{project_id}/ota-upgrades/packages/{package_id} |
iotda:otapackages:delete |
|
隧道管理 |
查询隧道列表 |
GET /v5/iot/{project_id}/tunnels |
iotda:tunnel:queryList |
创建设备隧道 |
POST /v5/iot/{project_id}/tunnels |
iotda:tunnel:create |
|
删除设备隧道 |
DELETE /v5/iot/{project_id}/tunnels/{id} |
iotda:tunnel:delete |
|
查询隧道详情 |
GET /v5/iot/{project_id}/tunnels/{id} |
iotda:tunnel:query |
|
修改设备隧道 |
PUT /v5/iot/{project_id}/tunnels/{id} |
iotda:tunnel:update |