Share via


Call Connection - Get Participants

Få deltagare från ett samtal.

GET {endpoint}/calling/callConnections/{callConnectionId}/participants?api-version=2023-10-15

URI-parametrar

Name I Obligatorisk Typ Description
callConnectionId
path True

string

Samtalsanslutnings-ID

endpoint
path True

string

url

Slutpunkten för Azure Communication-resursen.

api-version
query True

string

Version av API som ska anropas.

Begärandehuvud

Name Obligatorisk Typ Description
Authorization True

string

En Azure Communication Services användaråtkomsttoken.

Svar

Name Typ Description
200 OK

GetParticipantsResponse

Returnerar svaret hämta deltagare.

Other Status Codes

CommunicationErrorResponse

Fel

Säkerhet

Authorization

En Azure Communication Services användaråtkomsttoken.

Type: apiKey
In: header

Exempel

CallConnection_GetParticipants

Sample Request

GET https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c/participants?api-version=2023-10-15

Sample Response

{
  "value": [
    {
      "identifier": {
        "kind": "communicationUser",
        "communicationUser": {
          "id": "8:acs:b9614373-fd0b-480c-8fd2-cb58b70eab9f_da7be3a9-8788-42a6-85c6-56b2cf784fce"
        }
      },
      "isMuted": true
    }
  ],
  "nextLink": "string"
}

Definitioner

Name Description
CallParticipant

En samtalsdeltagare.

GetParticipantsResponse

Svarsnyttolasten för att få deltagarna i samtalet.

CallParticipant

En samtalsdeltagare.

Name Typ Description
identifier

CommunicationIdentifierModel

isMuted

boolean

Är deltagaren avstängd

GetParticipantsResponse

Svarsnyttolasten för att få deltagarna i samtalet.

Name Typ Description
nextLink

string

Fortsätt med listan över deltagare

value

CallParticipant[]

Lista över aktuella deltagare i samtalet.