- 小柔享睡
- 用户模块
- 设备模块
- 协议管理
- 版本管理
- 音乐管理
- 睡眠模块
- 阿里云
- 首页
- 意见反馈2.0
- 冥想模块
- gpt
- 配置管理
- 开放平台
公共设备类型列表
开发中
POST
/api/rlIotDevice/findByAll
请求参数
Header 参数
token
string
必需
示例值:
92c38bc4785a4e9da7b91490a5e47efa
channel
string
可选
默认值:
HOSPITAL_SAAS
Body 参数application/json
status
string
是否启用 Y是 N否
deviceType
string
设备类型 0 头贴 1香薰 2头枕 3振动床 4一体机
notDeviceType
array[string]
需要过滤的设备类型
列: 要过滤头贴
[0]
示例
{}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/rlIotDevice/findByAll' \
--header 'token: 6e6f3a96328f454eb489906b71b5fb23' \
--header 'channel: HOSPITAL_SAAS' \
--header 'Content-Type: application/json' \
--data-raw '{}'
返回响应
🟢200成功
application/json
Body
id
integer
必需
deviceName
string
名称
deviceType
integer
类型
status
string
是否启用
选择智能设备页面,status=N时 选中此设备时提示暂不支持此设备
示例
{
"id": 0,
"deviceName": "string",
"deviceType": 0,
"status": "string"
}
修改于 2022-12-29 03:23:14