Praca z uczestnikami

Z tego przewodnika dowiesz się, jak za pomocą interfejsu Google Meet REST API uzyskać szczegółowe informacje o uczestnikach, którzy wzięli udział w poprzedniej konferencji lub są obecni na aktywnej konferencji, oraz informacje o ich sesjach.

Uczestnik to osoba która dołączyła do rozmowy, korzysta z trybu towarzyszącego, ogląda jako widz lub korzysta z urządzenia w sali połączonego z rozmową. Każda osoba ma 1 participants zasób.

Sesja uczestnika to unikalny identyfikator sesji utworzony dla każdej pary uczestnik-urządzenie, która dołączy do rozmowy. Każda sesja ma 1 participantSessions zasób. Jeśli uczestnik dołączy do tej samej rozmowy kilka razy z tej samej pary uczestnik-urządzenie, każda sesja otrzyma unikalny identyfikator.

Jeśli jesteś właścicielem lub uczestnikiem przestrzeni spotkania, możesz wywołać metody get i list w zasobach participants i participantSessions, aby pobrać rekordy uczestników.

Uwierzytelnianie i autoryzacja za pomocą danych logowania użytkownika umożliwia aplikacjom Google Meet dostęp do danych użytkownika i wykonywanie operacji w imieniu uwierzytelnionego użytkownika. Uwierzytelnianie za pomocą przekazywania dostępu w całej domenie umożliwia autoryzowanie konta usługi aplikacji do uzyskiwania dostępu do danych użytkowników bez potrzeby pytania każdego użytkownika o zgodę.

Uczestnicy

W sekcjach poniżej znajdziesz szczegółowe informacje o tym, jak uzyskać informacje o uczestnikach w rekordzie konferencji.

Zasób participants jest połączony z polem user. user może być tylko jednym z tych obiektów:

  • A signedinUser to:

    • osoba dołączająca z komputera osobistego, urządzenia mobilnego lub w trybie towarzyszącym;

    • konto robota używane przez urządzenia w sali konferencyjnej.

  • An anonymousUser to niezidentyfikowany użytkownik, który nie jest zalogowany na konto Google.

  • A phoneUser to użytkownik, który dzwoni z telefonu, a jego tożsamość jest nieznana ponieważ nie zalogował się na konto Google.

Pamiętaj, że wszystkie 3 obiekty zwracają displayName, ale signedinUser zwraca też unikalny identyfikator user, który jest zgodny z interfejsem Admin SDK API i People API. Format: users/{user}. Więcej informacji o używaniu identyfikatora user ID z People API znajdziesz w artykule Pobieranie szczegółów uczestnika za pomocą People API.

Pobieranie szczegółów uczestnika

Aby uzyskać szczegółowe informacje o konkretnym uczestniku, użyj get metody w participants zasobie. Ustaw parametr ścieżki name w formacie conferenceRecords/{conferenceRecord}/participants/{participantRecord}.

Jeśli nie znasz nazwy uczestnika, możesz wyświetlić listę wszystkich nazw uczestników za pomocą metody list.

Metoda zwraca dane uczestnika jako instancję zasobu participants.

Poniższy przykładowy kod pokazuje, jak pobrać konkretnego uczestnika:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/getparticipant/AsyncGetParticipant.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetParticipantRequest;
import com.google.apps.meet.v2.Participant;
import com.google.apps.meet.v2.ParticipantName;

public class AsyncGetParticipant {

  public static void main(String[] args) throws Exception {
    asyncGetParticipant();
  }

  public static void asyncGetParticipant() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      GetParticipantRequest request =
          GetParticipantRequest.newBuilder()
              .setName(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
              .build();
      ApiFuture<Participant> future =
          conferenceRecordsServiceClient.getParticipantCallable().futureCall(request);
      // Do something.
      Participant response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_participant.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Resource name of the participant.
 */
// const name = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callGetParticipant() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await meetClient.getParticipant(request);
  console.log(response);
}

callGetParticipant();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_participant_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_get_participant():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.GetParticipantRequest(
        name="name_value",
    )

    # Make the request
    response = await client.get_participant(request=request)

    # Handle the response
    print(response)

cURL

curl -X GET "https://meet.googleapis.com/v2/conferenceRecords/CONFERENCE_RECORD_NAME/participants/PARTICIPANT_NAME" \
-H "Authorization: Bearer ACCESS_TOKEN"

Zastąp ACCESS_TOKEN tokenem dostępu, który przyznaje dostęp do interfejsu API.

Zastąp następujące elementy:

  • Nazwę rekordu konferencji nazwą konkretnego identyfikatora rozmowy wideo w rekordzie konferencji.
  • Nazwę uczestnika nazwą konkretnego identyfikatora uczestnika w rekordzie konferencji.

Wyświetlanie listy wszystkich uczestników

Aby wyświetlić szczegółowe informacje o wszystkich uczestnikach w rekordzie konferencji, użyj list metody w participants zasobie. Ustaw parametr ścieżki parent w formacie conferenceRecords/{conferenceRecord}.

Metoda zwraca listę uczestników konferencji uporządkowaną według earliestStartTime w kolejności malejącej jako instancję zasobu participants. Aby dostosować rozmiar strony i filtrować wyniki zapytania, zobacz Dostosowywanie paginacji lub filtrowanie listy uczestników.

Poniższy przykładowy kod pokazuje, jak wyświetlić listę wszystkich uczestników w rekordzie konferencji:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listparticipants/AsyncListParticipants.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordName;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListParticipantsRequest;
import com.google.apps.meet.v2.Participant;

public class AsyncListParticipants {

  public static void main(String[] args) throws Exception {
    asyncListParticipants();
  }

  public static void asyncListParticipants() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      ListParticipantsRequest request =
          ListParticipantsRequest.newBuilder()
              .setParent(ConferenceRecordName.of("[CONFERENCE_RECORD]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .setFilter("filter-1274492040")
              .build();
      ApiFuture<Participant> future =
          conferenceRecordsServiceClient.listParticipantsPagedCallable().futureCall(request);
      // Do something.
      for (Participant element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_participants.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Format: `conferenceRecords/{conference_record}`
 */
// const parent = 'abc123'
/**
 *  Maximum number of participants to return. The service might return fewer
 *  than this value.
 *  If unspecified, at most 100 participants are returned.
 *  The maximum value is 250; values above 250 are coerced to 250.
 *  Maximum might change in the future.
 */
// const pageSize = 1234
/**
 *  Page token returned from previous List Call.
 */
// const pageToken = 'abc123'
/**
 *  Optional. User specified filtering condition in EBNF
 *  format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
 *  The following are the filterable fields:
 *  * `earliest_start_time`
 *  * `latest_end_time`
 *  For example, `latest_end_time IS NULL` returns active participants in
 *  the conference.
 */
// const filter = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callListParticipants() {
  // Construct request
  const request = {
    parent,
  };

  // Run request
  const iterable = meetClient.listParticipantsAsync(request);
  for await (const response of iterable) {
      console.log(response);
  }
}

callListParticipants();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_participants_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_list_participants():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.ListParticipantsRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_participants(request=request)

    # Handle the response
    async for response in page_result:
        print(response)

cURL

curl -X GET "https://meet.googleapis.com/v2/conferenceRecords/PARENT_NAME/participants" \
-H "Authorization: Bearer ACCESS_TOKEN"

Zastąp ACCESS_TOKEN tokenem dostępu, który przyznaje dostęp do interfejsu API.

Zastąp nazwę nadrzędną nazwą konkretnego identyfikatora rozmowy wideo w rekordzie konferencji.

Dostosowywanie paginacji lub filtrowanie listy uczestników

Aby dostosować paginację lub filtrować uczestników, przekaż te parametry zapytania:

  • pageSize: maksymalna liczba uczestników do zwrócenia. Usługa może zwrócić mniej niż ta wartość. Jeśli nie określisz tu żadnej wartości, zostanie zwróconych maksymalnie 100 uczestników. Maksymalna wartość to 250. Wartości większe niż 250 są automatycznie zmieniane na 250.

  • pageToken: token strony otrzymany z poprzedniego wywołania listy. Podaj ten token, aby pobrać następną stronę.

  • filter: opcjonalnie. Filtr zapytania, który umożliwia pobieranie konkretnych elementów w wynikach zasobu participants.

    Możesz użyć pól earliestStartTime lub latestEndTime, aby filtrować użytkowników, którzy dołączyli przed określonym czasem lub opuścili spotkanie po określonym czasie. Oba pola używają formatu znacznika czasu w formacie RFC 3339 UTC "Zulu" , z dokładnością do nanosekund i maksymalnie 9 cyframi ułamkowymi: {year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z. Na przykład:

    • earliestStartTime < 2023-10-01T15:01:23Z
    • latestEndTime < 2023-10-01T15:01:23Z

    Aby wyświetlić listę wszystkich aktywnych uczestników w istniejącej konferencji, użyj latestEndTime IS NULL.

Pobieranie szczegółów uczestnika za pomocą People API

Aby pobrać szczegółowe informacje o uczestniku, użyj metody get w zasobie people w People API.

  1. Wyodrębnij identyfikator osoby z zasobu participant za pomocą końcowego komponentu ścieżki. Jeśli na przykład wartość zasobu participant to conferenceRecords/abc-123/participants/12345, identyfikator dla People API to 12345.

  2. Dołącz READ_SOURCE_TYPE_PROFILE, READ_SOURCE_TYPE_CONTACT i READ_SOURCE_TYPE_OTHER_CONTACT ReadSourceType. Dzięki temu w odpowiedzi zostaną uwzględnieni zarówno użytkownicy wewnętrzni organizacji Google Workspace, jak i kontakty zewnętrzne.

Poniższy przykładowy kod pokazuje, jak wyszukać osobę w profilach organizacji i kontaktach:

cURL

curl \
   'https://people.googleapis.com/v1/people/PERSON_ID?personFields=names%2CemailAddresses&sources=READ_SOURCE_TYPE_OTHER_CONTACT&sources=READ_SOURCE_TYPE_PROFILE&sources=READ_SOURCE_TYPE_CONTACT' \
   --header 'Authorization: Bearer ACCESS_TOKEN' \
   --header 'Accept: application/json' \
   --compressed

Zastąp następujące elementy:

  • PERSON_ID: identyfikator osoby do znalezienia.
  • ACCESS_TOKEN: token dostępu, który przyznaje dostęp do wielu interfejsów API.

Sesje uczestników

W sekcjach poniżej znajdziesz szczegółowe informacje o tym, jak uzyskać informacje o sesjach uczestników w rekordzie konferencji.

Pobieranie szczegółów sesji uczestnika

Aby uzyskać szczegółowe informacje o konkretnej sesji uczestnika, użyj metody get w zasobie participantSessions. Ustaw parametr ścieżki name w formacie conferenceRecords/{conferenceRecord}/participants/{participantRecord}/participantSessions/{participantSessionRecord}.

Jeśli nie znasz nazwy sesji uczestnika, możesz wyświetlić listę wszystkich sesji uczestnika za pomocą metody list.

Metoda zwraca nazwę uczestnika jako instancję zasobu participantSessions.

Poniższy przykładowy kod pokazuje, jak pobrać konkretną sesję uczestnika:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/getparticipantsession/AsyncGetParticipantSession.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.GetParticipantSessionRequest;
import com.google.apps.meet.v2.ParticipantSession;
import com.google.apps.meet.v2.ParticipantSessionName;

public class AsyncGetParticipantSession {

  public static void main(String[] args) throws Exception {
    asyncGetParticipantSession();
  }

  public static void asyncGetParticipantSession() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      GetParticipantSessionRequest request =
          GetParticipantSessionRequest.newBuilder()
              .setName(
                  ParticipantSessionName.of(
                          "[CONFERENCE_RECORD]", "[PARTICIPANT]", "[PARTICIPANT_SESSION]")
                      .toString())
              .build();
      ApiFuture<ParticipantSession> future =
          conferenceRecordsServiceClient.getParticipantSessionCallable().futureCall(request);
      // Do something.
      ParticipantSession response = future.get();
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.get_participant_session.js
/**
 * This snippet has been automatically generated and should be regarded as a code template only.
 * It will require modifications to work.
 * It may require correct/in-range values for request initialization.
 * TODO(developer): Uncomment these variables before running the sample.
 */
/**
 *  Required. Resource name of the participant.
 */
// const name = 'abc123'

// Imports the Meet library
const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

// Instantiates a client
const meetClient = new ConferenceRecordsServiceClient();

async function callGetParticipantSession() {
  // Construct request
  const request = {
    name,
  };

  // Run request
  const response = await meetClient.getParticipantSession(request);
  console.log(response);
}

callGetParticipantSession();

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_get_participant_session_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_get_participant_session():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.GetParticipantSessionRequest(
        name="name_value",
    )

    # Make the request
    response = await client.get_participant_session(request=request)

    # Handle the response
    print(response)

cURL

curl -X GET "https://meet.googleapis.com/v2/conferenceRecords/CONFERENCE_RECORD_NAME/participants/PARTICIPANT_NAME/participantSessions/PARTICIPANT_SESSION_ID" \
-H "Authorization: Bearer ACCESS_TOKEN"

Zastąp ACCESS_TOKEN tokenem dostępu, który przyznaje dostęp do interfejsu API.

Zastąp następujące elementy:

  • Nazwę rekordu konferencji nazwą konkretnego identyfikatora rozmowy wideo w rekordzie konferencji.
  • Nazwę uczestnika nazwą konkretnego identyfikatora uczestnika w rekordzie konferencji.
  • Identyfikator sesji uczestnika identyfikatorem konkretnej sesji uczestnika.

Wyświetlanie listy wszystkich sesji uczestników

Aby wyświetlić szczegółowe informacje o wszystkich sesjach uczestnika w rekordzie konferencji, użyj metody w zasobie.list()participantSessions Ustaw parametr ścieżki parent w formacie conferenceRecords/{conferenceRecord}/participants/{participantRecord}.

Metoda zwraca listę sesji uczestników uporządkowaną według startTime w kolejności malejącej jako instancję zasobu participantSession. Aby dostosować rozmiar strony i filtrować wyniki zapytania, zobacz Dostosowywanie paginacji lub filtrowanie listy sesji uczestników.

Poniższy przykładowy kod pokazuje, jak wyświetlić listę wszystkich sesji uczestników w rekordzie konferencji:

Java

java-meet/samples/snippets/generated/com/google/apps/meet/v2/conferencerecordsservice/listparticipantsessions/AsyncListParticipantSessions.java
import com.google.api.core.ApiFuture;
import com.google.apps.meet.v2.ConferenceRecordsServiceClient;
import com.google.apps.meet.v2.ListParticipantSessionsRequest;
import com.google.apps.meet.v2.ParticipantName;
import com.google.apps.meet.v2.ParticipantSession;

public class AsyncListParticipantSessions {

  public static void main(String[] args) throws Exception {
    asyncListParticipantSessions();
  }

  public static void asyncListParticipantSessions() throws Exception {
    // This snippet has been automatically generated and should be regarded as a code template only.
    // It will require modifications to work:
    // - It may require correct/in-range values for request initialization.
    // - It may require specifying regional endpoints when creating the service client as shown in
    // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
    try (ConferenceRecordsServiceClient conferenceRecordsServiceClient =
        ConferenceRecordsServiceClient.create()) {
      ListParticipantSessionsRequest request =
          ListParticipantSessionsRequest.newBuilder()
              .setParent(ParticipantName.of("[CONFERENCE_RECORD]", "[PARTICIPANT]").toString())
              .setPageSize(883849137)
              .setPageToken("pageToken873572522")
              .setFilter("filter-1274492040")
              .build();
      ApiFuture<ParticipantSession> future =
          conferenceRecordsServiceClient.listParticipantSessionsPagedCallable().futureCall(request);
      // Do something.
      for (ParticipantSession element : future.get().iterateAll()) {
        // doThingsWith(element);
      }
    }
  }
}

Node.js

packages/google-apps-meet/samples/generated/v2/conference_records_service.list_participant_sessions.js
// Copyright 2026 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//     https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **



'use strict';

function main(parent) {
  /**
   * This snippet has been automatically generated and should be regarded as a code template only.
   * It will require modifications to work.
   * It may require correct/in-range values for request initialization.
   * TODO(developer): Uncomment these variables before running the sample.
   */
  /**
   *  Required. Format:
   *  `conferenceRecords/{conference_record}/participants/{participant}`
   */
  // const parent = 'abc123'
  /**
   *  Optional. Maximum number of participant sessions to return. The service
   *  might return fewer than this value. If unspecified, at most 100
   *  participants are returned. The maximum value is 250; values above 250 are
   *  coerced to 250. Maximum might change in the future.
   */
  // const pageSize = 1234
  /**
   *  Optional. Page token returned from previous List Call.
   */
  // const pageToken = 'abc123'
  /**
   *  Optional. User specified filtering condition in EBNF
   *  format (https://en.wikipedia.org/wiki/Extended_Backus%E2%80%93Naur_form).
   *  The following are the filterable fields:
   *  * `start_time`
   *  * `end_time`
   *  For example, `end_time IS NULL` returns active participant sessions in
   *  the conference record.
   */
  // const filter = 'abc123'

  // Imports the Meet library
  const {ConferenceRecordsServiceClient} = require('@google-apps/meet').v2;

  // Instantiates a client
  const meetClient = new ConferenceRecordsServiceClient();

  async function callListParticipantSessions() {
    // Construct request
    const request = {
      parent,
    };

    // Run request
    const iterable = meetClient.listParticipantSessionsAsync(request);
    for await (const response of iterable) {
        console.log(response);
    }
  }

  callListParticipantSessions();
}

process.on('unhandledRejection', err => {
  console.error(err.message);
  process.exitCode = 1;
});
main(...process.argv.slice(2));

Python

packages/google-apps-meet/samples/generated_samples/meet_v2_generated_conference_records_service_list_participant_sessions_async.py
# This snippet has been automatically generated and should be regarded as a
# code template only.
# It will require modifications to work:
# - It may require correct/in-range values for request initialization.
# - It may require specifying regional endpoints when creating the service
#   client as shown in:
#   https://googleapis.dev/python/google-api-core/latest/client_options.html
from google.apps import meet_v2


async def sample_list_participant_sessions():
    # Create a client
    client = meet_v2.ConferenceRecordsServiceAsyncClient()

    # Initialize request argument(s)
    request = meet_v2.ListParticipantSessionsRequest(
        parent="parent_value",
    )

    # Make the request
    page_result = client.list_participant_sessions(request=request)

    # Handle the response
    async for response in page_result:
        print(response)

cURL

curl -X GET "https://meet.googleapis.com/v2/conferenceRecords/CONFERENCE_RECORD_NAME/participants/PARENT_NAME/participantSessions" \
-H "Authorization: Bearer ACCESS_TOKEN"

Zastąp ACCESS_TOKEN tokenem dostępu, który przyznaje dostęp do interfejsu API.

Zastąp następujące elementy:

  • Nazwę rekordu konferencji nazwą konkretnego identyfikatora rozmowy wideo w rekordzie konferencji.
  • Nazwę nadrzędną nazwą sesji uczestników w rekordzie konferencji.

Dostosowywanie paginacji lub filtrowanie listy sesji uczestników

Aby dostosować paginację lub filtrować sesje uczestników, przekaż te opcjonalne parametry zapytania:

  • pageSize: maksymalna liczba sesji uczestników do zwrócenia. Usługa może zwrócić mniej niż ta wartość. Jeśli nie określisz tu żadnej wartości, zostanie zwróconych maksymalnie 100 sesji uczestników. Maksymalna wartość to 250. Wartości większe niż 250 są automatycznie zmieniane na 250.

  • pageToken: token strony otrzymany z poprzedniego wywołania listy. Podaj ten token, aby pobrać następną stronę.

  • filter: opcjonalnie. Filtr zapytania, który umożliwia pobieranie konkretnych elementów w wynikach zasobu participants.

    Możesz użyć pól startTime lub endTime, aby filtrować użytkowników, którzy dołączyli przed określonym czasem lub opuścili spotkanie po określonym czasie. Oba pola używają formatu znacznika czasu w formacie RFC 3339 UTC "Zulu" , z dokładnością do nanosekund i maksymalnie 9 cyframi ułamkowymi: {year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z. Na przykład:

    • startTime < 2023-10-01T15:01:23Z
    • endTime < 2023-10-01T15:01:23Z

    Aby wyświetlić listę wszystkich aktywnych sesji uczestników w rekordzie konferencji, użyj endTime IS NULL.