你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Call Connection - Get Participants
从通话中获取参与者。
GET {endpoint}/calling/callConnections/{callConnectionId}/participants?api-version=2023-10-15
URI 参数
名称 | 在 | 必需 | 类型 | 说明 |
---|---|---|---|---|
call
|
path | True |
string |
呼叫连接 ID |
endpoint
|
path | True |
string url |
Azure 通信资源的终结点。 |
api-version
|
query | True |
string |
要调用的 API 版本。 |
请求头
名称 | 必需 | 类型 | 说明 |
---|---|---|---|
Authorization | True |
string |
Azure 通信服务用户访问令牌。 |
响应
名称 | 类型 | 说明 |
---|---|---|
200 OK |
返回获取参与者响应。 |
|
Other Status Codes |
Communication |
错误 |
安全性
Authorization
Azure 通信服务用户访问令牌。
类型:
apiKey
在:
header
示例
CallConnection_GetParticipants
示例请求
GET https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c/participants?api-version=2023-10-15
示例响应
{
"value": [
{
"identifier": {
"kind": "communicationUser",
"communicationUser": {
"id": "8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce"
}
},
"isMuted": true
}
],
"nextLink": "string"
}
定义
名称 | 说明 |
---|---|
Call |
呼叫参与者。 |
Get |
用于获取呼叫参与者的响应有效负载。 |
CallParticipant
呼叫参与者。
名称 | 类型 | 说明 |
---|---|---|
identifier |
Communication |
|
isMuted |
boolean |
参与者已静音 |
GetParticipantsResponse
用于获取呼叫参与者的响应有效负载。
名称 | 类型 | 说明 |
---|---|---|
nextLink |
string |
参与者列表的继续 |
value |
呼叫中的当前参与者列表。 |