Skip to main content

livestreams_sessions

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

Overview

Namelivestreams_sessions
TypeResource
Idcloudflare.realtime_kit.livestreams_sessions

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dataobject
successboolean

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_by_accountselectaccount_id, app_id, livestream_session_idReturns livestream session details for the given livestream session ID. Retrieve the livestream_session_idusing the Fetch livestream session details using a session ID API.

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

SELECT examples

Returns livestream session details for the given livestream session ID. Retrieve the livestream_session_idusing the Fetch livestream session details using a session ID API.

SELECT
data,
success
FROM cloudflare.realtime_kit.livestreams_sessions
WHERE account_id = '{{ account_id }}' -- required
AND app_id = '{{ app_id }}' -- required
AND livestream_session_id = '{{ livestream_session_id }}' -- required
;