重置颜色调节
PUT
/api/v1/device/input/reset
All
提示
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Device-Key
string
可选
默认值:
10.40.41.200:8001
Body 参数application/json
inputIdList
array[integer]
源ID
type
integer
类型
示例
{
"inputIdList": [
0
],
"type": 0
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://dev-cn.your-api-server.com:8001/api/v1/device/input/reset' \
--header 'Device-Key: 10.40.41.200:8001' \
--header 'Content-Type: application/json' \
--data-raw '{
"inputIdList": [
0
],
"type": 0
}'
返回响应
🟢200成功
application/json
Body
code
integer
可选
data
object
返回数据
message
string
code码对应信息
示例
{
"code": 0,
"data": {},
"message": "string"
}
修改于 2024-07-01 06:35:33