> ## 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.

# /handles/{handleId}/session

> /handles/{handleId}/session

# /handles/{handleId}/session

使用句柄取消引用来支持会话的 PUT 和 GET 操作。

> **注意：**\
> 此 URI 由 2015 多人游戏使用，仅适用于该多人游戏版本及更高版本。它旨在与模板协定 104/105 或更高版本一起使用。

> **注意：**\
> 此 URI 当前仅可由 XBOX One 控制台和使用服务标识符的服务器外部访问。

## 域

sessiondirectory.xboxlive.com

## URI 参数

\| 参数| 类型| 说明|
\| --- | --- | --- | --- | --- |
\| handleId| GUID| 会话句柄的唯一 ID。|

## 有效方法

[GET (/handles/{handleId}/session)](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleidsessionget.md)

  获取指定句柄标识符的会话对象。

[PUT (/handles/{handle-id}/session)](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleidsessionput.md)

  通过取消引用句柄来创建或更新会话。

## 另请参阅

##### 上级

[会话目录 URI](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/atoc-reference-sessiondirectory.md)


## Related topics

- [GET (/handles/{handleId}/session)](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleidsessionget.md)
- [/handles/{handleId}](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleid.md)
- [PUT (/handles/{handle-id}/session)](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleidsessionput.md)
- [DELETE (/handles/{handleId})](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleiddelete.md)
- [GET (/handles/{handle-id})](https://docs.xbox.com/zh-CN/reference/live/rest/uri/sessiondirectory/uri-handleshandleidget.md)
