videos
Creates, updates, deletes, gets or lists a videos resource.
Overview
| Name | videos |
| Type | Resource |
| Id | cloudflare.streams.videos |
Fields
The following fields are returned by SELECT queries:
- list
Returns information about an account's storage use response.
| Name | Datatype | Description |
|---|---|---|
creator | string | A user-defined identifier for the media creator. (example: creator-id_abcde12345) |
totalStorageMinutes | number (float) | The total minutes of video content stored in the account. May contain decimal values. |
totalStorageMinutesLimit | integer | The storage capacity alloted for the account. |
videoCount | integer | The total count of videos associated with the account. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | creator | Returns 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
creator | string |
SELECT examples
- list
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 }}'
;