Skip to main content

vtts

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

Overview

Namevtts
TypeResource
Idcloudflare.streams.vtts

Fields

The following fields are returned by SELECT queries:

Return WebVTT caption or subtitle response.

NameDatatypeDescription
contentsstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlanguage, identifier, account_idReturn WebVTT captions for a provided language.

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.
identifierstringResource identifier.
languagestring

SELECT examples

Return WebVTT captions for a provided language.

SELECT
contents
FROM cloudflare.streams.vtts
WHERE language = '{{ language }}' -- required
AND identifier = '{{ identifier }}' -- required
AND account_id = '{{ account_id }}' -- required
;