> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AggregateSessionsResponse (JSON)

> AggregateSessionsResponse (JSON)

# AggregateSessionsResponse (JSON)

包含用户健身会话的聚合数据。

## AggregateSessionsResponse

AggregateSessionsResponse 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| totalDurationInSeconds | 64 位有符号整数 | 聚合期内会话的总时长(以秒为单位)。 |
| totalJoules | 64 位有符号整数 | 聚合期内消耗的总能量(以焦耳为单位)。 |
| totalSessions | 64 位有符号整数 | 聚合期内的会话总数。 |
| weightedAverageMets | 单精度浮点数 | 聚合期内加权平均代谢当量任务 (MET) 值。MET 值是个人在活动期间的代谢率与其静息代谢率之比。由于不论体重如何,静息代谢率均为 1.0,而 MET 值相对于个人的静息代谢率,因此可用于比较不同体重个人所进行活动的强度。 |

## JSON 语法示例

```json theme={null}
{
   "totalSessions" : 300,
   "totalDurationInSeconds" : 1240,
   "totalJoules" :  21600,
   "weightedAvgMet" : 21,
}

    
```

## 另请参阅

##### 父主题

[JavaScript 对象表示法 (JSON) 对象参考](/zh-CN/reference/live/rest/json/atoc-xboxlivews-reference-json)


## Related topics

- [Multiplayer Session Directory overview](/services/xbox-services/multiplayer/mpsd/live-mpsd-overview.md)
- [Get Multiplayer Session Logs By Session Id](/api-reference/multiplayerserver/get-multiplayer-session-logs-by-session-id.md)
- [XDSP overview](/build/console-features/audio/overviews/xdsp-overview.md)
- [Obtenir les journaux de session multijoueur par ID de session](/fr-CA/services/playfab/api-references/rest/multiplayer/multiplayer-server/get-multiplayer-session-logs-by-session-id.md)
- [XDspConnect](/reference/audio/xdspaudio/functions/xdspconnect.md)
