⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 8 additions & 32 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,16 @@ docs/AssetNonStandardInputReasons.md
docs/AssetRecordingTimes.md
docs/AssetResponse.md
docs/AssetStaticRenditions.md
docs/AssetStaticRenditionsFiles.md
docs/AssetsApi.md
docs/BreakdownValue.md
docs/Broadcast.md
docs/BroadcastLayout.md
docs/BroadcastResolution.md
docs/BroadcastResponse.md
docs/BroadcastStatus.md
docs/CreateAssetRequest.md
docs/CreateBroadcastRequest.md
docs/CreateLiveStreamRequest.md
docs/CreatePlaybackIDRequest.md
docs/CreatePlaybackIDResponse.md
docs/CreatePlaybackRestrictionRequest.md
docs/CreateSimulcastTargetRequest.md
docs/CreateSpaceRequest.md
docs/CreateStaticRenditionRequest.md
docs/CreateStaticRenditionResponse.md
docs/CreateTrackRequest.md
docs/CreateTrackResponse.md
docs/CreateTranscriptionVocabularyRequest.md
Expand Down Expand Up @@ -105,7 +99,6 @@ docs/ListRealTimeDimensionsResponse.md
docs/ListRealTimeMetricsResponse.md
docs/ListRelatedIncidentsResponse.md
docs/ListSigningKeysResponse.md
docs/ListSpacesResponse.md
docs/ListTranscriptionVocabulariesResponse.md
docs/ListUploadsResponse.md
docs/ListVideoViewExportsResponse.md
Expand Down Expand Up @@ -151,13 +144,7 @@ docs/SigningKeyResponse.md
docs/SigningKeysApi.md
docs/SimulcastTarget.md
docs/SimulcastTargetResponse.md
docs/Space.md
docs/SpaceResponse.md
docs/SpaceStatus.md
docs/SpaceType.md
docs/SpacesApi.md
docs/StartSpaceBroadcastResponse.md
docs/StopSpaceBroadcastResponse.md
docs/StaticRendition.md
docs/Track.md
docs/TranscriptionVocabulariesApi.md
docs/TranscriptionVocabulary.md
Expand All @@ -169,6 +156,7 @@ docs/UpdateAssetRequest.md
docs/UpdateLiveStreamEmbeddedSubtitlesRequest.md
docs/UpdateLiveStreamGeneratedSubtitlesRequest.md
docs/UpdateLiveStreamNewAssetSettings.md
docs/UpdateLiveStreamNewAssetSettingsStaticRenditionsRequest.md
docs/UpdateLiveStreamRequest.md
docs/UpdateReferrerDomainRestrictionRequest.md
docs/UpdateTranscriptionVocabularyRequest.md
Expand Down Expand Up @@ -204,7 +192,6 @@ mux_python/api/playback_id_api.py
mux_python/api/playback_restrictions_api.py
mux_python/api/real_time_api.py
mux_python/api/signing_keys_api.py
mux_python/api/spaces_api.py
mux_python/api/transcription_vocabularies_api.py
mux_python/api/url_signing_keys_api.py
mux_python/api/video_views_api.py
Expand All @@ -222,21 +209,15 @@ mux_python/models/asset_non_standard_input_reasons.py
mux_python/models/asset_recording_times.py
mux_python/models/asset_response.py
mux_python/models/asset_static_renditions.py
mux_python/models/asset_static_renditions_files.py
mux_python/models/breakdown_value.py
mux_python/models/broadcast.py
mux_python/models/broadcast_layout.py
mux_python/models/broadcast_resolution.py
mux_python/models/broadcast_response.py
mux_python/models/broadcast_status.py
mux_python/models/create_asset_request.py
mux_python/models/create_broadcast_request.py
mux_python/models/create_live_stream_request.py
mux_python/models/create_playback_id_request.py
mux_python/models/create_playback_id_response.py
mux_python/models/create_playback_restriction_request.py
mux_python/models/create_simulcast_target_request.py
mux_python/models/create_space_request.py
mux_python/models/create_static_rendition_request.py
mux_python/models/create_static_rendition_response.py
mux_python/models/create_track_request.py
mux_python/models/create_track_response.py
mux_python/models/create_transcription_vocabulary_request.py
Expand Down Expand Up @@ -308,7 +289,6 @@ mux_python/models/list_real_time_dimensions_response.py
mux_python/models/list_real_time_metrics_response.py
mux_python/models/list_related_incidents_response.py
mux_python/models/list_signing_keys_response.py
mux_python/models/list_spaces_response.py
mux_python/models/list_transcription_vocabularies_response.py
mux_python/models/list_uploads_response.py
mux_python/models/list_video_view_exports_response.py
Expand Down Expand Up @@ -347,12 +327,7 @@ mux_python/models/signing_key.py
mux_python/models/signing_key_response.py
mux_python/models/simulcast_target.py
mux_python/models/simulcast_target_response.py
mux_python/models/space.py
mux_python/models/space_response.py
mux_python/models/space_status.py
mux_python/models/space_type.py
mux_python/models/start_space_broadcast_response.py
mux_python/models/stop_space_broadcast_response.py
mux_python/models/static_rendition.py
mux_python/models/track.py
mux_python/models/transcription_vocabulary.py
mux_python/models/transcription_vocabulary_response.py
Expand All @@ -362,6 +337,7 @@ mux_python/models/update_asset_request.py
mux_python/models/update_live_stream_embedded_subtitles_request.py
mux_python/models/update_live_stream_generated_subtitles_request.py
mux_python/models/update_live_stream_new_asset_settings.py
mux_python/models/update_live_stream_new_asset_settings_static_renditions_request.py
mux_python/models/update_live_stream_request.py
mux_python/models/update_referrer_domain_restriction_request.py
mux_python/models/update_transcription_vocabulary_request.py
Expand Down
4 changes: 2 additions & 2 deletions docs/AssetStaticRenditions.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ An object containing the current status of any static renditions (mp4s). The obj
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**status** | **str** | Indicates the status of downloadable MP4 versions of this asset. | [optional] [default to 'disabled']
**files** | [**list[AssetStaticRenditionsFiles]**](AssetStaticRenditionsFiles.md) | Array of file objects. | [optional]
**status** | **str** | Indicates the status of downloadable MP4 versions of this asset. This field is only valid when `mp4_support` is enabled | [optional] [default to 'disabled']
**files** | [**list[StaticRendition]**](StaticRendition.md) | Array of file objects. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
15 changes: 0 additions & 15 deletions docs/AssetStaticRenditionsFiles.md

This file was deleted.

153 changes: 152 additions & 1 deletion docs/AssetsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ Method | HTTP request | Description
------------- | ------------- | -------------
[**create_asset**](AssetsApi.md#create_asset) | **POST** /video/v1/assets | Create an asset
[**create_asset_playback_id**](AssetsApi.md#create_asset_playback_id) | **POST** /video/v1/assets/{ASSET_ID}/playback-ids | Create a playback ID
[**create_asset_static_rendition**](AssetsApi.md#create_asset_static_rendition) | **POST** /video/v1/assets/{ASSET_ID}/static-renditions | Create a static rendition for an asset
[**create_asset_track**](AssetsApi.md#create_asset_track) | **POST** /video/v1/assets/{ASSET_ID}/tracks | Create an asset track
[**delete_asset**](AssetsApi.md#delete_asset) | **DELETE** /video/v1/assets/{ASSET_ID} | Delete an asset
[**delete_asset_playback_id**](AssetsApi.md#delete_asset_playback_id) | **DELETE** /video/v1/assets/{ASSET_ID}/playback-ids/{PLAYBACK_ID} | Delete a playback ID
[**delete_asset_static_rendition**](AssetsApi.md#delete_asset_static_rendition) | **DELETE** /video/v1/assets/{ASSET_ID}/static-renditions/{STATIC_RENDITION_ID} | Delete a single static rendition for an asset
[**delete_asset_track**](AssetsApi.md#delete_asset_track) | **DELETE** /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID} | Delete an asset track
[**generate_asset_track_subtitles**](AssetsApi.md#generate_asset_track_subtitles) | **POST** /video/v1/assets/{ASSET_ID}/tracks/{TRACK_ID}/generate-subtitles | Generate track subtitles
[**get_asset**](AssetsApi.md#get_asset) | **GET** /video/v1/assets/{ASSET_ID} | Retrieve an asset
Expand Down Expand Up @@ -168,6 +170,81 @@ Name | Type | Description | Notes

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create_asset_static_rendition**
> CreateStaticRenditionResponse create_asset_static_rendition(asset_id, create_static_rendition_request)

Create a static rendition for an asset

Creates a static rendition (i.e. MP4) for an asset

### Example

* Basic Authentication (accessToken):
```python
from __future__ import print_function
import time
import mux_python
from mux_python.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.mux.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mux_python.Configuration(
host = "https://api.mux.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: accessToken
configuration = mux_python.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)

# Enter a context with an instance of the API client
with mux_python.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mux_python.AssetsApi(api_client)
asset_id = 'asset_id_example' # str | The asset ID.
create_static_rendition_request = {"resolution":"highest"} # CreateStaticRenditionRequest |

try:
# Create a static rendition for an asset
api_response = api_instance.create_asset_static_rendition(asset_id, create_static_rendition_request)
pprint(api_response)
except ApiException as e:
print("Exception when calling AssetsApi->create_asset_static_rendition: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**asset_id** | **str**| The asset ID. |
**create_static_rendition_request** | [**CreateStaticRenditionRequest**](CreateStaticRenditionRequest.md)| |

### Return type

[**CreateStaticRenditionResponse**](CreateStaticRenditionResponse.md)

### Authorization

[accessToken](../README.md#accessToken)

### HTTP request headers

- **Content-Type**: application/json
- **Accept**: application/json

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**201** | Created | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **create_asset_track**
> CreateTrackResponse create_asset_track(asset_id, create_track_request)

Expand Down Expand Up @@ -389,6 +466,80 @@ void (empty response body)

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete_asset_static_rendition**
> delete_asset_static_rendition(asset_id, static_rendition_id)

Delete a single static rendition for an asset

Deletes a single static rendition for an asset

### Example

* Basic Authentication (accessToken):
```python
from __future__ import print_function
import time
import mux_python
from mux_python.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://api.mux.com
# See configuration.py for a list of all supported configuration parameters.
configuration = mux_python.Configuration(
host = "https://api.mux.com"
)

# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.

# Configure HTTP basic authorization: accessToken
configuration = mux_python.Configuration(
username = 'YOUR_USERNAME',
password = 'YOUR_PASSWORD'
)

# Enter a context with an instance of the API client
with mux_python.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = mux_python.AssetsApi(api_client)
asset_id = 'asset_id_example' # str | The asset ID.
static_rendition_id = 'static_rendition_id_example' # str | The static rendition ID.

try:
# Delete a single static rendition for an asset
api_instance.delete_asset_static_rendition(asset_id, static_rendition_id)
except ApiException as e:
print("Exception when calling AssetsApi->delete_asset_static_rendition: %s\n" % e)
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**asset_id** | **str**| The asset ID. |
**static_rendition_id** | **str**| The static rendition ID. |

### Return type

void (empty response body)

### Authorization

[accessToken](../README.md#accessToken)

### HTTP request headers

- **Content-Type**: Not defined
- **Accept**: Not defined

### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
**204** | No Content | - |

[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete_asset_track**
> delete_asset_track(asset_id, track_id)

Expand Down Expand Up @@ -995,7 +1146,7 @@ Name | Type | Description | Notes

Update MP4 support

Allows you to add or remove mp4 support for assets that were created without it. The values supported are `capped-1080p`, `audio-only`, `audio-only,capped-1080p`, `standard`(deprecated), and `none`. `none` means that an asset *does not* have mp4 support, so submitting a request with `mp4_support` set to `none` will delete the mp4 assets from the asset in question.
This method has been deprecated. Please see the [Static Rendition API](https://www.mux.com/docs/guides/enable-static-mp4-renditions#after-asset-creation). Allows you to add or remove mp4 support for assets that were created without it. The values supported are `capped-1080p`, `audio-only`, `audio-only,capped-1080p`, `standard`(deprecated), and `none`. `none` means that an asset *does not* have mp4 support, so submitting a request with `mp4_support` set to `none` will delete the mp4 assets from the asset in question.

### Example

Expand Down
16 changes: 0 additions & 16 deletions docs/Broadcast.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/BroadcastLayout.md

This file was deleted.

10 changes: 0 additions & 10 deletions docs/BroadcastResolution.md

This file was deleted.

Loading