- 产品介绍
- 系统模块
- user
- role
- tenant
- post
- dict
- dept
- config
- api
- systemApi
- systemDepartment
- menu
- systemRole
- systemRoleApi
- systemRoleMenu
- admin
- notice
- /systemGET
- /system/serverGET
- 获取验证码GET
- 日志模块
- 代码生成
- 可视化
- 功能模块
- 模拟设备
- gb28181测试
- 设备管理
- 设备告警
- 设备命令
- 设备分组
- 产品OTA
- 产品管理
- 产品分类
- 产品参数模板
- 边缘管理
- 任务调度
- 任务日志
- 日志信息
- 规则链
- 规则链日志
- system
- 摄像头通道
- 摄像头
- 摄像头视频流
- datasetfield
- datasettable
- datasource
- screen
- datasetgroup
命令下发
POST
/device/cmd
设备命令
请求参数
Body 参数application/json
cmdContent
string
必需
cmdName
string
必需
deviceId
string
必需
id
string
必需
mode
string
必需
requestTime
string
必需
responseContent
string
必需
responseTime
string
必需
state
string
必需
type
string
必需
示例
{
"cmdContent": "string",
"cmdName": "string",
"deviceId": "string",
"id": "string",
"mode": "string",
"requestTime": "string",
"responseContent": "string",
"responseTime": "string",
"state": "string",
"type": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://101.35.247.125:7788/device/cmd' \
--header 'Content-Type: application/json' \
--data-raw '{
"cmdContent": "string",
"cmdName": "string",
"deviceId": "string",
"id": "string",
"mode": "string",
"requestTime": "string",
"responseContent": "string",
"responseTime": "string",
"state": "string",
"type": "string"
}'
返回响应
🟢200OK
application/json
Body
object {0}
示例
{}