- WEB模块
- App
- 第三方登录
- 数据
- 血压
- 血氧
- 血糖
- 血酮
- 心率
- 心电图
- 心率变异性
- 呼吸率
- 睡眠
- 运动
- 温度管理
- 血脂
- 尿酸
- 激光理疗
- 压力
- 摄氧量
- 用户注册信息填充POST
根据userId获取呼吸率数据
POST
https://web-api.ycaviation.com/smartam/resporatryRateList
暂无描述
请求参数
Header 参数
zone
string
时区
默认值:
+8
language
string
语言
默认值:
cn
Access-Token
string
访问token
默认值:
pUC1WvXTjcbyApb4bd8pgw==
User-Agent
string
定制App-UA
默认值:
1.3.18;10096;HealthWear;iOS 15.4.1;iPhone;0.01;watch;S25;
Body 参数application/x-www-form-urlencoded
userId
string
用户id
示例值:
1534862469350207488
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://web-api.ycaviation.com/smartam/resporatryRateList' \
--header 'zone: +8' \
--header 'language: cn' \
--header 'Access-Token: pUC1WvXTjcbyApb4bd8pgw==' \
--header 'User-Agent: 1.3.18;10096;HealthWear;iOS 15.4.1;iPhone;0.01;watch;S25;' \
--data-urlencode 'userId=1534862469350207488'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
array [object {4}]
必需
hour
integer
必需
id
string
必需
mlist
string
必需
userId
string
必需
message
string
必需
示例
{
"code":0,
"data":[
{
"hour":23,
"id":"1535049560763838464",
"mlist":"[{\"hour\":23,\"respiratoryrate\":16,\"rtime\":1654786807000}]",
"userId":"1534862469350207488"
},
{
"hour":8,
"id":"1535049559870451712",
"mlist":"[{\"rtime\":1654819205000,\"hour\":8,\"respiratoryrate\":21},{\"rtime\":1654815608000,\"hour\":7,\"respiratoryrate\":14},{\"rtime\":1654812007000,\"hour\":6,\"respiratoryrate\":12},{\"rtime\":1654808407000,\"hour\":5,\"respiratoryrate\":14},{\"rtime\":1654804814000,\"hour\":4,\"respiratoryrate\":15},{\"rtime\":1654801207000,\"hour\":3,\"respiratoryrate\":13},{\"rtime\":1654797608000,\"hour\":2,\"respiratoryrate\":14},{\"rtime\":1654794007000,\"hour\":1,\"respiratoryrate\":15},{\"rtime\":1654790407000,\"hour\":0,\"respiratoryrate\":20},{\"rtime\":1654826407000,\"hour\":10,\"respiratoryrate\":20},{\"rtime\":1654822811000,\"hour\":9,\"respiratoryrate\":21},{\"rtime\":1654833607000,\"hour\":12,\"respiratoryrate\":21},{\"rtime\":1654830007000,\"hour\":11,\"respiratoryrate\":21},{\"rtime\":1654873208000,\"hour\":23,\"respiratoryrate\":15},{\"rtime\":1654869608000,\"hour\":22,\"respiratoryrate\":17},{\"rtime\":1654866008000,\"hour\":21,\"respiratoryrate\":18},{\"rtime\":1654862408000,\"hour\":20,\"respiratoryrate\":18},{\"rtime\":1654858808000,\"hour\":19,\"respiratoryrate\":17},{\"rtime\":1654855205000,\"hour\":18,\"respiratoryrate\":21},{\"rtime\":1654851608000,\"hour\":17,\"respiratoryrate\":16},{\"rtime\":1654848008000,\"hour\":16,\"respiratoryrate\":19},{\"rtime\":1654844407000,\"hour\":15,\"respiratoryrate\":16},{\"rtime\":1654840807000,\"hour\":14,\"respiratoryrate\":18},{\"rtime\":1654837207000,\"hour\":13,\"respiratoryrate\":19}]",
"userId":"1534862469350207488"
},
{
"hour":8,
"id":"1535424969099620352",
"mlist":"[{\"rtime\":1654906300000,\"hour\":8,\"respiratoryrate\":19},{\"rtime\":1654905605000,\"hour\":8,\"respiratoryrate\":21},{\"rtime\":1654902009000,\"hour\":7,\"respiratoryrate\":21},{\"rtime\":1654898409000,\"hour\":6,\"respiratoryrate\":21},{\"rtime\":1654894805000,\"hour\":5,\"respiratoryrate\":21},{\"rtime\":1654891209000,\"hour\":4,\"respiratoryrate\":21},{\"rtime\":1654887605000,\"hour\":3,\"respiratoryrate\":21},{\"rtime\":1654884009000,\"hour\":2,\"respiratoryrate\":21},{\"rtime\":1654880406000,\"hour\":1,\"respiratoryrate\":21},{\"rtime\":1654876807000,\"hour\":0,\"respiratoryrate\":17},{\"rtime\":1654930807000,\"hour\":15,\"respiratoryrate\":18},{\"rtime\":1654927205000,\"hour\":14,\"respiratoryrate\":21},{\"rtime\":1654923607000,\"hour\":13,\"respiratoryrate\":20},{\"rtime\":1654920007000,\"hour\":12,\"respiratoryrate\":23},{\"rtime\":1654916405000,\"hour\":11,\"respiratoryrate\":21},{\"rtime\":1654912807000,\"hour\":10,\"respiratoryrate\":21},{\"rtime\":1654909209000,\"hour\":9,\"respiratoryrate\":21},{\"rtime\":1654959609000,\"hour\":23,\"respiratoryrate\":20},{\"rtime\":1654956005000,\"hour\":22,\"respiratoryrate\":20},{\"rtime\":1654952408000,\"hour\":21,\"respiratoryrate\":17},{\"rtime\":1654948807000,\"hour\":20,\"respiratoryrate\":18},{\"rtime\":1654945205000,\"hour\":19,\"respiratoryrate\":21},{\"rtime\":1654941608000,\"hour\":18,\"respiratoryrate\":16},{\"rtime\":1654938008000,\"hour\":17,\"respiratoryrate\":20},{\"rtime\":1654934410000,\"hour\":16,\"respiratoryrate\":21}]",
"userId":"1534862469350207488"
},
{
"hour":5,
"id":"1535740871431073792",
"mlist":"[{\"rtime\":1654981206000,\"hour\":5,\"respiratoryrate\":21},{\"rtime\":1654977608000,\"hour\":4,\"respiratoryrate\":22},{\"rtime\":1654974005000,\"hour\":3,\"respiratoryrate\":21},{\"rtime\":1654970409000,\"hour\":2,\"respiratoryrate\":22},{\"rtime\":1654966805000,\"hour\":1,\"respiratoryrate\":21},{\"rtime\":1654963207000,\"hour\":0,\"respiratoryrate\":15},{\"rtime\":1655013607000,\"hour\":14,\"respiratoryrate\":18},{\"rtime\":1655010007000,\"hour\":13,\"respiratoryrate\":19},{\"rtime\":1655006407000,\"hour\":12,\"respiratoryrate\":20},{\"rtime\":1655002807000,\"hour\":11,\"respiratoryrate\":20},{\"rtime\":1654999207000,\"hour\":10,\"respiratoryrate\":21},{\"rtime\":1654995605000,\"hour\":9,\"respiratoryrate\":21},{\"rtime\":1654992013000,\"hour\":8,\"respiratoryrate\":21},{\"rtime\":1654988405000,\"hour\":7,\"respiratoryrate\":21},{\"rtime\":1654984808000,\"hour\":6,\"respiratoryrate\":17},{\"rtime\":1655046006000,\"hour\":23,\"respiratoryrate\":21},{\"rtime\":1655042408000,\"hour\":22,\"respiratoryrate\":15},{\"rtime\":1655038808000,\"hour\":21,\"respiratoryrate\":17},{\"rtime\":1655035207000,\"hour\":20,\"respiratoryrate\":21},{\"rtime\":1655031607000,\"hour\":19,\"respiratoryrate\":22},{\"rtime\":1655028008000,\"hour\":18,\"respiratoryrate\":20},{\"rtime\":1655024408000,\"hour\":17,\"respiratoryrate\":17},{\"rtime\":1655020805000,\"hour\":16,\"respiratoryrate\":20},{\"rtime\":1655017207000,\"hour\":15,\"respiratoryrate\":19}]",
"userId":"1534862469350207488"
}
],
"message":"OK"
}
🟢200错误
修改于 2023-10-10 06:51:28