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

    健康数据日报

    {
        "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
                    }
                ]
            }
        }
    }
    Built with