bitmovin_api_sdk.streams.config.domain_restriction package
Submodules
bitmovin_api_sdk.streams.config.domain_restriction.domain_restriction_api module
- class bitmovin_api_sdk.streams.config.domain_restriction.domain_restriction_api.DomainRestrictionApi(**kwargs)[source]
Bases:
BaseApi
- create(streams_domain_restriction_create_request: StreamsDomainRestrictionCreateRequest, **kwargs: dict) StreamsDomainRestrictionResponse [source]
Create new streams domain restriction
- Parameters
streams_domain_restriction_create_request (StreamsDomainRestrictionCreateRequest, required) – Create a new streams domain restriction
- Returns
Created streams domain restriction
- Return type
- delete(domain_restriction_id: string_types, **kwargs: dict) None [source]
Delete streams domain restriction by id
- Parameters
domain_restriction_id (string_types, required) – Id of the streams domain restriction.
- get(domain_restriction_id: string_types, **kwargs: dict) StreamsDomainRestrictionResponse [source]
Get streams domain restriction config by id
- Parameters
domain_restriction_id (string_types, required) – Id of the streams domain restriction.
- Returns
- Return type
- list(query_params: Optional[StreamsDomainRestrictionResponseListQueryParams] = None, **kwargs: dict) StreamsDomainRestrictionResponse [source]
Get paginated list of domain restriction configurations
- Parameters
query_params (StreamsDomainRestrictionResponseListQueryParams) – Query parameters
- Returns
List of all streams domain restriction configs
- Return type
- patch_streams_domain_restriction(domain_restriction_id: string_types, streams_domain_restriction_update_request: StreamsDomainRestrictionUpdateRequest, **kwargs: dict) StreamsDomainRestrictionResponse [source]
Partially update streams domain restriction by id
- Parameters
domain_restriction_id (string_types, required) – Id of the streams domain restriction.
streams_domain_restriction_update_request (StreamsDomainRestrictionUpdateRequest, required) – The updated streams domain restriction object.
- Returns
- Return type