bitmovin_api_sdk.encoding.encodings.sidecars.webvtt package
Submodules
bitmovin_api_sdk.encoding.encodings.sidecars.webvtt.web_vtt_sidecar_file_list_query_params module
bitmovin_api_sdk.encoding.encodings.sidecars.webvtt.webvtt_api module
- class bitmovin_api_sdk.encoding.encodings.sidecars.webvtt.webvtt_api.WebvttApi(**kwargs)[source]
Bases:
BaseApi
- create(encoding_id: string_types, web_vtt_sidecar_file: WebVttSidecarFile, **kwargs: dict) WebVttSidecarFile [source]
Add WebVTT sidecar file
- Parameters
encoding_id (string_types, required) – Id of the encoding.
web_vtt_sidecar_file (WebVttSidecarFile, required) – The WebVTT Sidecar file to be added
- Returns
WebVTT sidecar file
- Return type
- delete(encoding_id: string_types, sidecar_id: string_types, **kwargs: dict) BitmovinResponse [source]
Delete Sidecar
- Parameters
encoding_id (string_types, required) – Id of the encoding.
sidecar_id (string_types, required) – Id of the sidecar.
- Returns
Id of the sidecar
- Return type
- get(encoding_id: string_types, sidecar_id: string_types, **kwargs: dict) WebVttSidecarFile [source]
WebVTT Sidecar Details
- Parameters
encoding_id (string_types, required) – Id of the encoding.
sidecar_id (string_types, required) – Id of the sidecar.
- Returns
WebVTT Subtitle file
- Return type
- list(encoding_id: string_types, query_params: WebVttSidecarFileListQueryParams = None, **kwargs: dict) WebVttSidecarFile [source]
List WebVTT sidecar files
- Parameters
encoding_id (string_types, required) – Id of the encoding.
query_params (WebVttSidecarFileListQueryParams) – Query parameters
- Returns
List of WebVTT sidecar files
- Return type