Dify工具Api服务
  1. 玉成健康数据
Dify工具Api服务
  • 玉成健康数据
    • 获取用户健康数据
      GET
    • 用户健康指标日报
      GET
    • 用户健康日报
      GET
  1. 玉成健康数据

用户健康指标日报

开发中
GET
/report/daily
获取用户健康指标日报表

请求参数

Query 参数

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://open-test.api.ycinnovate.com/example/dify/user/hm/report/daily?user=1819700355062640643&date=2025-03-23&code=4'

返回响应

🟢200成功
application/json
Body

示例
{
    "date": 0,
    "userId": "string",
    "min": 0,
    "max": 0,
    "avg": 0,
    "restAvg": 0,
    "restMax": 0,
    "restMin": 0,
    "records": [
        {
            "time": 0,
            "value": 0
        }
    ],
    "phase": {
        "property1": {
            "timePeriods": [
                {
                    "start": 0,
                    "end": 0
                }
            ],
            "avg": 0,
            "max": 0,
            "min": 0
        },
        "property2": {
            "timePeriods": [
                {
                    "start": 0,
                    "end": 0
                }
            ],
            "avg": 0,
            "max": 0,
            "min": 0
        }
    },
    "sportPhase": {
        "timePeriods": [
            {
                "start": 0,
                "end": 0
            }
        ],
        "avg": 0,
        "max": 0,
        "min": 0
    },
    "sleepPhase": {
        "timePeriods": [
            {
                "start": 0,
                "end": 0
            }
        ],
        "avg": 0,
        "max": 0,
        "min": 0
    },
    "startTime": 0,
    "endTime": 0,
    "sleepDuration": 0,
    "sleepGoal": {
        "sleepDuration": true
    },
    "sleepStageStatistics": {
        "deepSleep": {
            "duration": 0,
            "count": 0
        },
        "lightSleep": {
            "duration": 0,
            "count": 0
        },
        "rem": {
            "duration": 0,
            "count": 0
        },
        "wake": {
            "duration": 0,
            "count": 0
        },
        "nap": {
            "duration": 0,
            "count": 0
        }
    },
    "sleepStageData": [
        {
            "sleepType": "string",
            "stime": "string",
            "sleepLong": "string"
        }
    ],
    "additionalData": {
        "HeartRate": {
            "avg": 0,
            "max": 0,
            "min": 0,
            "row": [
                {
                    "time": 0,
                    "value": 0
                }
            ]
        },
        "BloodOxygen": {
            "avg": 0,
            "max": 0,
            "min": 0,
            "row": [
                {
                    "time": 0,
                    "value": 0
                }
            ]
        },
        "BreathingRate": {
            "avg": 0,
            "max": 0,
            "min": 0,
            "row": [
                {
                    "time": 0,
                    "value": 0
                }
            ]
        },
        "Hrv": {
            "avg": 0,
            "max": 0,
            "min": 0,
            "row": [
                {
                    "time": 0,
                    "value": 0
                }
            ]
        }
    }
}
修改于 2025-03-26 08:04:14
上一页
获取用户健康数据
下一页
用户健康日报
Built with