App后台_V1版
  1. 呼吸率
App后台_V1版
  • WEB模块
    • App
      • 表盘
        • App获取表盘
    • 第三方登录
      • 微信小程序登录接口
    • 数据
      • 血压
        • 上传血压
        • 根据日期获取血压数据
        • 获取血压数据
      • 血氧
        • 上传血氧
        • 获取血氧数据
        • 根据日期获取血氧数据
      • 血糖
        • 上传血糖
        • 获取血糖
        • 根据日期获取血糖
      • 血酮
        • 上传血酮
        • 获取血酮
        • 根据日期获取血酮
      • 心率
        • 上传心率数据
        • 根据userId获取心率数据
        • 根据日期获取心率数据
      • 心电图
        • 上传ecg数据
        • 根据日期获取心电图
        • Web端-获取心电图信息
        • 移动端-获取心电图
        • 上传心电图原始数据
        • 根据日期区间(账号、手环Mac、手环名称)查询原始数据
      • 心率变异性
        • 上传心率变异性数据
        • 获取用户心率变异性数据
        • 根据日期获取心率变异性数据
      • 呼吸率
        • 上传呼吸率数据
          POST
        • 根据userId获取呼吸率数据
          POST
        • 根据日期获取心率变异性数据
          POST
      • 睡眠
        • 上传睡眠数据
        • 获取睡眠数据
        • 根据日期获取睡眠数据
      • 运动
        • 上传运动
        • 获取运动
        • 根据日期获取运动数据
        • 获取步数排行榜
      • 温度管理
        • 获取用户温度数据
        • 上传温度
        • 根据日期获取温度数据
      • 血脂
        • 上传血脂数据
        • 获取用户血脂数据
        • 根据日期获取血脂数据
      • 尿酸
        • 上传尿酸数据
        • 获取用户尿酸数据
        • 根据日期获取尿酸数据
      • 激光理疗
        • 上传激光理疗记录
        • 获取用户理疗记录
        • 根据日期获取激光理疗记录
      • 压力
        • 获取用户压力数据
        • 上传压力数据
        • 根据日期获取压力数据
      • 摄氧量
        • 上传摄氧量数据
        • 获取用户摄氧量数据
        • 根据日期查找摄氧量数据
      • 用户注册信息填充
        POST
  1. 呼吸率

根据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
上一页
上传呼吸率数据
下一页
根据日期获取心率变异性数据
Built with