Skip to main content

videos

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

Overview

Namevideos
TypeResource
Idcloudflare.streams.videos

Fields

The following fields are returned by SELECT queries:

Returns information about an account's storage use response.

NameDatatypeDescription
creatorstringA user-defined identifier for the media creator. (example: creator-id_abcde12345)
totalStorageMinutesnumber (float)The total minutes of video content stored in the account. May contain decimal values.
totalStorageMinutesLimitintegerThe storage capacity alloted for the account.
videoCountintegerThe total count of videos associated with the account.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idcreatorReturns information about an account's storage use.

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

SELECT examples

Returns information about an account's storage use.

SELECT
creator,
totalStorageMinutes,
totalStorageMinutesLimit,
videoCount
FROM cloudflare.streams.videos
WHERE account_id = '{{ account_id }}' -- required
AND creator = '{{ creator }}'
;