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

# ActivityRequest (JSON)

> ActivityRequest (JSON)

# ActivityRequest (JSON)

关于一个或多个用户丰富状态的信息请求。

## ActivityRequest

ActivityRequest 对象具有以下规范。

| 成员 | 类型 | 说明 |
| - | - | - |
| richPresence | [RichPresenceRequest](https://docs.xbox.com/zh-CN/reference/live/rest/json/json-richpresencerequest.md) | 要使用的丰富状态字符串的友好名称。 |
| media | MediaRequest | 用户正在观看或收听内容的媒体信息。 |

## JSON 语法示例

```json theme={null}
{
    richPresence:
    {
      id:"playingMapWeapon",
      scid:"abba0123-08ba-48ca-9f1a-21627b189b0f"
    }
  }
    
```

## 另请参阅

##### 父主题

[JavaScript 对象表示法 (JSON) 对象参考](https://docs.xbox.com/zh-CN/reference/live/rest/json/atoc-xboxlivews-reference-json.md)


## Related topics

- [JavaScript 对象表示法 (JSON) 对象参考](https://docs.xbox.com/zh-CN/reference/live/rest/json/atoc-xboxlivews-reference-json.md)
- [通过 REST 更新用户的在线状态](https://docs.xbox.com/zh-CN/services/xbox-services/community/presence/how-to/live-updating-presence-rest.md)
- [TitleRequest (JSON)](https://docs.xbox.com/zh-CN/reference/live/rest/json/json-titlerequest.md)
- [Report Ad Activity](https://docs.xbox.com/api-reference/advertising/report-ad-activity.md)
- [ActivityRecord (JSON)](https://docs.xbox.com/zh-CN/reference/live/rest/json/json-activityrecord.md)
