bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection package
Submodules
bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection.content_protection_list_query_params module
bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection.contentprotection_api module
- class bitmovin_api_sdk.encoding.manifests.dash.periods.adaptationsets.contentprotection.contentprotection_api.ContentprotectionApi(**kwargs)[source]
Bases:
BaseApi
- create(manifest_id: string_types, period_id: string_types, adaptationset_id: string_types, content_protection: ContentProtection, **kwargs: dict) ContentProtection [source]
Add Content Protection to AdaptationSet
- Parameters
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
content_protection (ContentProtection, required) – The content protection to be added to the adaptation set
- Returns
AdaptationSet Content Protection
- Return type
- delete(manifest_id: string_types, period_id: string_types, adaptationset_id: string_types, contentprotection_id: string_types, **kwargs: dict) BitmovinResponse [source]
Delete AdaptationSet Content Protection
- Parameters
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
contentprotection_id (string_types, required) – Id of the adaptation set content protection to be deleted
- Returns
Id of the AdaptationSet Content Protection
- Return type
- get(manifest_id: string_types, period_id: string_types, adaptationset_id: string_types, contentprotection_id: string_types, **kwargs: dict) ContentProtection [source]
AdaptationSet Content Protection Details
- Parameters
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
contentprotection_id (string_types, required) – Id of the adaptation set content protection
- Returns
AdaptationSet Content Protection details
- Return type
- list(manifest_id: string_types, period_id: string_types, adaptationset_id: string_types, query_params: ContentProtectionListQueryParams = None, **kwargs: dict) ContentProtection [source]
List all AdaptationSet Content Protections
- Parameters
manifest_id (string_types, required) – Id of the manifest
period_id (string_types, required) – Id of the period
adaptationset_id (string_types, required) – Id of the adaptation set
query_params (ContentProtectionListQueryParams) – Query parameters
- Returns
List of AdaptationSet Content Protections
- Return type