Skip to main content

sessions_participants

Creates, updates, deletes, gets or lists a sessions_participants resource.

Overview​

Namesessions_participants
TypeResource
Idcloudflare.realtime_kit.sessions_participants

Fields​

The following fields are returned by SELECT queries:

Returns details of a participant along with callstats data.

NameDatatypeDescription
dataobject
successboolean

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, app_id, participant_id, session_idfilters, include_peer_eventsReturns details of the given participant ID along with call statistics for the given session ID.
listselectaccount_id, app_id, session_idsearch, page_no, per_page, sort_order, sort_by, include_peer_events, viewReturns a list of participants for the given session ID.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
app_idstringThe Access application ID.
participant_idstringID of the participant
session_idstringThe session ID.
filtersstringComma separated list of filters to apply. Note that there must be no spaces between the filters.
include_peer_eventsbooleanif true, response includes all the peer events of participants.
page_nonumberThe page number from which you want your page search results to be displayed.
per_pagenumberNumber of results per page
sort_bystring
sort_orderstring
viewstringIn breakout room sessions, the view parameter can be set to raw for session specific duration for participants or consolidated to accumulate breakout room durations.

SELECT examples​

Returns details of the given participant ID along with call statistics for the given session ID.

SELECT
data,
success
FROM cloudflare.realtime_kit.sessions_participants
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND participant_id = '{{ participant_id }}' -- required
AND session_id = '{{ session_id }}' -- required
AND filters = '{{ filters }}'
AND include_peer_events = '{{ include_peer_events }}'
;