mux-python 3.15.0__tar.gz → 3.17.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (388) hide show
  1. {mux_python-3.15.0 → mux_python-3.17.0}/PKG-INFO +1 -1
  2. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/__init__.py +9 -1
  3. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/__init__.py +1 -0
  4. mux_python-3.17.0/mux_python/api/drm_configurations_api.py +311 -0
  5. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/metrics_api.py +8 -8
  6. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/playback_restrictions_api.py +150 -0
  7. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api_client.py +1 -1
  8. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/configuration.py +1 -1
  9. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/__init__.py +7 -0
  10. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/abridged_video_view.py +29 -3
  11. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_asset_request.py +31 -3
  12. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_live_stream_request.py +29 -1
  13. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_playback_id_request.py +31 -3
  14. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_playback_restriction_request.py +29 -3
  15. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_upload_request.py +2 -0
  16. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/delivery_report.py +35 -1
  17. mux_python-3.17.0/mux_python/models/drm_configuration.py +134 -0
  18. mux_python-3.17.0/mux_python/models/drm_configuration_response.py +132 -0
  19. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/generate_track_subtitles_response.py +3 -3
  20. mux_python-3.17.0/mux_python/models/list_drm_configurations_response.py +132 -0
  21. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/playback_id.py +31 -3
  22. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/playback_policy.py +2 -1
  23. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/playback_restriction.py +29 -3
  24. mux_python-3.17.0/mux_python/models/update_live_stream_new_asset_settings.py +140 -0
  25. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_live_stream_request.py +29 -3
  26. mux_python-3.17.0/mux_python/models/update_user_agent_restriction_request.py +162 -0
  27. mux_python-3.17.0/mux_python/models/user_agent_restriction_request.py +162 -0
  28. mux_python-3.17.0/mux_python/models/user_agent_restriction_settings.py +162 -0
  29. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/video_view.py +157 -9
  30. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python.egg-info/PKG-INFO +1 -1
  31. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python.egg-info/SOURCES.txt +16 -0
  32. {mux_python-3.15.0 → mux_python-3.17.0}/setup.py +1 -1
  33. mux_python-3.17.0/test/test_drm_configuration.py +52 -0
  34. mux_python-3.17.0/test/test_drm_configuration_response.py +53 -0
  35. mux_python-3.17.0/test/test_drm_configurations_api.py +48 -0
  36. mux_python-3.17.0/test/test_list_drm_configurations_response.py +55 -0
  37. mux_python-3.17.0/test/test_update_live_stream_new_asset_settings.py +52 -0
  38. mux_python-3.17.0/test/test_update_user_agent_restriction_request.py +53 -0
  39. mux_python-3.17.0/test/test_user_agent_restriction_request.py +53 -0
  40. mux_python-3.17.0/test/test_user_agent_restriction_settings.py +53 -0
  41. {mux_python-3.15.0 → mux_python-3.17.0}/LICENSE +0 -0
  42. {mux_python-3.15.0 → mux_python-3.17.0}/README.md +0 -0
  43. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/assets_api.py +0 -0
  44. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/delivery_usage_api.py +0 -0
  45. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/dimensions_api.py +0 -0
  46. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/direct_uploads_api.py +0 -0
  47. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/errors_api.py +0 -0
  48. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/exports_api.py +0 -0
  49. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/filters_api.py +0 -0
  50. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/incidents_api.py +0 -0
  51. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/live_streams_api.py +0 -0
  52. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/monitoring_api.py +0 -0
  53. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/playback_id_api.py +0 -0
  54. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/real_time_api.py +0 -0
  55. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/signing_keys_api.py +0 -0
  56. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/spaces_api.py +0 -0
  57. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/transcription_vocabularies_api.py +0 -0
  58. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/url_signing_keys_api.py +0 -0
  59. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/video_views_api.py +0 -0
  60. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/api/web_inputs_api.py +0 -0
  61. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/exceptions.py +0 -0
  62. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset.py +0 -0
  63. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_errors.py +0 -0
  64. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_generated_subtitle_settings.py +0 -0
  65. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_master.py +0 -0
  66. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_non_standard_input_reasons.py +0 -0
  67. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_recording_times.py +0 -0
  68. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_response.py +0 -0
  69. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_static_renditions.py +0 -0
  70. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/asset_static_renditions_files.py +0 -0
  71. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/breakdown_value.py +0 -0
  72. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/broadcast.py +0 -0
  73. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/broadcast_layout.py +0 -0
  74. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/broadcast_resolution.py +0 -0
  75. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/broadcast_response.py +0 -0
  76. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/broadcast_status.py +0 -0
  77. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_broadcast_request.py +0 -0
  78. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_playback_id_response.py +0 -0
  79. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_simulcast_target_request.py +0 -0
  80. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_space_request.py +0 -0
  81. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_track_request.py +0 -0
  82. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_track_response.py +0 -0
  83. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_transcription_vocabulary_request.py +0 -0
  84. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/create_web_input_request.py +0 -0
  85. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/delivery_report_delivered_seconds_by_resolution.py +0 -0
  86. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/dimension_value.py +0 -0
  87. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/disable_live_stream_response.py +0 -0
  88. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/enable_live_stream_response.py +0 -0
  89. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/error.py +0 -0
  90. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/export_date.py +0 -0
  91. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/export_file.py +0 -0
  92. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/filter_value.py +0 -0
  93. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/generate_track_subtitles_request.py +0 -0
  94. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_asset_input_info_response.py +0 -0
  95. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_asset_or_live_stream_id_response.py +0 -0
  96. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_asset_or_live_stream_id_response_data.py +0 -0
  97. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_asset_or_live_stream_id_response_data_object.py +0 -0
  98. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_asset_playback_id_response.py +0 -0
  99. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_live_stream_playback_id_response.py +0 -0
  100. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_metric_timeseries_data_response.py +0 -0
  101. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_monitoring_breakdown_response.py +0 -0
  102. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_monitoring_breakdown_timeseries_response.py +0 -0
  103. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_monitoring_histogram_timeseries_response.py +0 -0
  104. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_monitoring_histogram_timeseries_response_meta.py +0 -0
  105. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_monitoring_timeseries_response.py +0 -0
  106. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_overall_values_response.py +0 -0
  107. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_real_time_breakdown_response.py +0 -0
  108. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_real_time_histogram_timeseries_response.py +0 -0
  109. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_real_time_histogram_timeseries_response_meta.py +0 -0
  110. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/get_real_time_timeseries_response.py +0 -0
  111. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/incident.py +0 -0
  112. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/incident_breakdown.py +0 -0
  113. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/incident_notification.py +0 -0
  114. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/incident_notification_rule.py +0 -0
  115. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/incident_response.py +0 -0
  116. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/input_file.py +0 -0
  117. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/input_info.py +0 -0
  118. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/input_settings.py +0 -0
  119. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/input_settings_overlay_settings.py +0 -0
  120. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/input_track.py +0 -0
  121. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/insight.py +0 -0
  122. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/launch_web_input_response.py +0 -0
  123. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_all_metric_values_response.py +0 -0
  124. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_assets_response.py +0 -0
  125. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_breakdown_values_response.py +0 -0
  126. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_breakdown_values_response_meta.py +0 -0
  127. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_delivery_usage_response.py +0 -0
  128. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_dimension_values_response.py +0 -0
  129. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_dimensions_response.py +0 -0
  130. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_errors_response.py +0 -0
  131. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_exports_response.py +0 -0
  132. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_filter_values_response.py +0 -0
  133. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_filters_response.py +0 -0
  134. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_filters_response_data.py +0 -0
  135. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_incidents_response.py +0 -0
  136. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_insights_response.py +0 -0
  137. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_live_streams_response.py +0 -0
  138. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_monitoring_dimensions_response.py +0 -0
  139. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_monitoring_dimensions_response_data.py +0 -0
  140. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_monitoring_metrics_response.py +0 -0
  141. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_playback_restrictions_response.py +0 -0
  142. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_real_time_dimensions_response.py +0 -0
  143. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_real_time_metrics_response.py +0 -0
  144. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_related_incidents_response.py +0 -0
  145. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_signing_keys_response.py +0 -0
  146. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_spaces_response.py +0 -0
  147. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_transcription_vocabularies_response.py +0 -0
  148. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_uploads_response.py +0 -0
  149. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_video_view_exports_response.py +0 -0
  150. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_video_views_response.py +0 -0
  151. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/list_web_inputs_response.py +0 -0
  152. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/live_stream.py +0 -0
  153. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/live_stream_embedded_subtitle_settings.py +0 -0
  154. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/live_stream_generated_subtitle_settings.py +0 -0
  155. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/live_stream_response.py +0 -0
  156. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/live_stream_status.py +0 -0
  157. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/metric.py +0 -0
  158. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_breakdown_timeseries_datapoint.py +0 -0
  159. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_breakdown_timeseries_values.py +0 -0
  160. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_breakdown_value.py +0 -0
  161. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_histogram_timeseries_bucket.py +0 -0
  162. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_histogram_timeseries_bucket_values.py +0 -0
  163. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_histogram_timeseries_datapoint.py +0 -0
  164. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/monitoring_timeseries_datapoint.py +0 -0
  165. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/notification_rule.py +0 -0
  166. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/overall_values.py +0 -0
  167. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/playback_restriction_response.py +0 -0
  168. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/real_time_breakdown_value.py +0 -0
  169. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/real_time_histogram_timeseries_bucket.py +0 -0
  170. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/real_time_histogram_timeseries_bucket_values.py +0 -0
  171. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/real_time_histogram_timeseries_datapoint.py +0 -0
  172. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/real_time_timeseries_datapoint.py +0 -0
  173. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/referrer_domain_restriction.py +0 -0
  174. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/reload_web_input_response.py +0 -0
  175. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/score.py +0 -0
  176. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/shutdown_web_input_response.py +0 -0
  177. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/signal_live_stream_complete_response.py +0 -0
  178. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/signing_key.py +0 -0
  179. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/signing_key_response.py +0 -0
  180. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/simulcast_target.py +0 -0
  181. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/simulcast_target_response.py +0 -0
  182. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/space.py +0 -0
  183. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/space_response.py +0 -0
  184. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/space_status.py +0 -0
  185. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/space_type.py +0 -0
  186. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/start_space_broadcast_response.py +0 -0
  187. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/stop_space_broadcast_response.py +0 -0
  188. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/track.py +0 -0
  189. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/transcription_vocabulary.py +0 -0
  190. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/transcription_vocabulary_response.py +0 -0
  191. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_asset_master_access_request.py +0 -0
  192. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_asset_mp4_support_request.py +0 -0
  193. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_asset_request.py +0 -0
  194. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_live_stream_embedded_subtitles_request.py +0 -0
  195. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_live_stream_generated_subtitles_request.py +0 -0
  196. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_referrer_domain_restriction_request.py +0 -0
  197. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_transcription_vocabulary_request.py +0 -0
  198. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/update_web_input_url_request.py +0 -0
  199. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/upload.py +0 -0
  200. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/upload_error.py +0 -0
  201. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/upload_response.py +0 -0
  202. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/video_view_event.py +0 -0
  203. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/video_view_response.py +0 -0
  204. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/web_input.py +0 -0
  205. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/models/web_input_response.py +0 -0
  206. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python/rest.py +0 -0
  207. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python.egg-info/dependency_links.txt +0 -0
  208. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python.egg-info/requires.txt +0 -0
  209. {mux_python-3.15.0 → mux_python-3.17.0}/mux_python.egg-info/top_level.txt +0 -0
  210. {mux_python-3.15.0 → mux_python-3.17.0}/setup.cfg +0 -0
  211. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_abridged_video_view.py +0 -0
  212. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset.py +0 -0
  213. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_errors.py +0 -0
  214. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_generated_subtitle_settings.py +0 -0
  215. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_master.py +0 -0
  216. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_non_standard_input_reasons.py +0 -0
  217. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_recording_times.py +0 -0
  218. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_response.py +0 -0
  219. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_static_renditions.py +0 -0
  220. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_asset_static_renditions_files.py +0 -0
  221. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_assets_api.py +0 -0
  222. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_breakdown_value.py +0 -0
  223. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_broadcast.py +0 -0
  224. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_broadcast_layout.py +0 -0
  225. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_broadcast_resolution.py +0 -0
  226. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_broadcast_response.py +0 -0
  227. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_broadcast_status.py +0 -0
  228. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_asset_request.py +0 -0
  229. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_broadcast_request.py +0 -0
  230. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_live_stream_request.py +0 -0
  231. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_playback_id_request.py +0 -0
  232. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_playback_id_response.py +0 -0
  233. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_playback_restriction_request.py +0 -0
  234. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_simulcast_target_request.py +0 -0
  235. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_space_request.py +0 -0
  236. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_track_request.py +0 -0
  237. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_track_response.py +0 -0
  238. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_transcription_vocabulary_request.py +0 -0
  239. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_upload_request.py +0 -0
  240. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_create_web_input_request.py +0 -0
  241. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_delivery_report.py +0 -0
  242. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_delivery_report_delivered_seconds_by_resolution.py +0 -0
  243. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_delivery_usage_api.py +0 -0
  244. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_dimension_value.py +0 -0
  245. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_dimensions_api.py +0 -0
  246. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_direct_uploads_api.py +0 -0
  247. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_disable_live_stream_response.py +0 -0
  248. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_enable_live_stream_response.py +0 -0
  249. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_error.py +0 -0
  250. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_errors_api.py +0 -0
  251. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_export_date.py +0 -0
  252. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_export_file.py +0 -0
  253. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_exports_api.py +0 -0
  254. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_filter_value.py +0 -0
  255. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_filters_api.py +0 -0
  256. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_generate_track_subtitles_request.py +0 -0
  257. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_generate_track_subtitles_response.py +0 -0
  258. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_asset_input_info_response.py +0 -0
  259. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_asset_or_live_stream_id_response.py +0 -0
  260. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_asset_or_live_stream_id_response_data.py +0 -0
  261. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_asset_or_live_stream_id_response_data_object.py +0 -0
  262. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_asset_playback_id_response.py +0 -0
  263. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_live_stream_playback_id_response.py +0 -0
  264. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_metric_timeseries_data_response.py +0 -0
  265. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_monitoring_breakdown_response.py +0 -0
  266. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_monitoring_breakdown_timeseries_response.py +0 -0
  267. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_monitoring_histogram_timeseries_response.py +0 -0
  268. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_monitoring_histogram_timeseries_response_meta.py +0 -0
  269. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_monitoring_timeseries_response.py +0 -0
  270. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_overall_values_response.py +0 -0
  271. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_real_time_breakdown_response.py +0 -0
  272. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_real_time_histogram_timeseries_response.py +0 -0
  273. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_real_time_histogram_timeseries_response_meta.py +0 -0
  274. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_get_real_time_timeseries_response.py +0 -0
  275. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incident.py +0 -0
  276. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incident_breakdown.py +0 -0
  277. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incident_notification.py +0 -0
  278. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incident_notification_rule.py +0 -0
  279. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incident_response.py +0 -0
  280. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_incidents_api.py +0 -0
  281. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_input_file.py +0 -0
  282. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_input_info.py +0 -0
  283. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_input_settings.py +0 -0
  284. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_input_settings_overlay_settings.py +0 -0
  285. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_input_track.py +0 -0
  286. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_insight.py +0 -0
  287. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_launch_web_input_response.py +0 -0
  288. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_all_metric_values_response.py +0 -0
  289. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_assets_response.py +0 -0
  290. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_breakdown_values_response.py +0 -0
  291. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_breakdown_values_response_meta.py +0 -0
  292. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_delivery_usage_response.py +0 -0
  293. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_dimension_values_response.py +0 -0
  294. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_dimensions_response.py +0 -0
  295. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_errors_response.py +0 -0
  296. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_exports_response.py +0 -0
  297. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_filter_values_response.py +0 -0
  298. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_filters_response.py +0 -0
  299. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_filters_response_data.py +0 -0
  300. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_incidents_response.py +0 -0
  301. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_insights_response.py +0 -0
  302. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_live_streams_response.py +0 -0
  303. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_monitoring_dimensions_response.py +0 -0
  304. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_monitoring_dimensions_response_data.py +0 -0
  305. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_monitoring_metrics_response.py +0 -0
  306. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_playback_restrictions_response.py +0 -0
  307. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_real_time_dimensions_response.py +0 -0
  308. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_real_time_dimensions_response_data.py +0 -0
  309. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_real_time_metrics_response.py +0 -0
  310. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_related_incidents_response.py +0 -0
  311. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_signing_keys_response.py +0 -0
  312. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_spaces_response.py +0 -0
  313. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_transcription_vocabularies_response.py +0 -0
  314. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_uploads_response.py +0 -0
  315. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_video_view_exports_response.py +0 -0
  316. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_video_views_response.py +0 -0
  317. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_list_web_inputs_response.py +0 -0
  318. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_stream.py +0 -0
  319. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_stream_embedded_subtitle_settings.py +0 -0
  320. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_stream_generated_subtitle_settings.py +0 -0
  321. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_stream_response.py +0 -0
  322. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_stream_status.py +0 -0
  323. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_live_streams_api.py +0 -0
  324. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_metric.py +0 -0
  325. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_metrics_api.py +0 -0
  326. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_api.py +0 -0
  327. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_breakdown_timeseries_datapoint.py +0 -0
  328. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_breakdown_timeseries_values.py +0 -0
  329. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_breakdown_value.py +0 -0
  330. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_histogram_timeseries_bucket.py +0 -0
  331. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_histogram_timeseries_bucket_values.py +0 -0
  332. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_histogram_timeseries_datapoint.py +0 -0
  333. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_monitoring_timeseries_datapoint.py +0 -0
  334. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_notification_rule.py +0 -0
  335. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_overall_values.py +0 -0
  336. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_id.py +0 -0
  337. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_id_api.py +0 -0
  338. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_policy.py +0 -0
  339. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_restriction.py +0 -0
  340. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_restriction_response.py +0 -0
  341. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_playback_restrictions_api.py +0 -0
  342. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_api.py +0 -0
  343. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_breakdown_value.py +0 -0
  344. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_histogram_timeseries_bucket.py +0 -0
  345. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_histogram_timeseries_bucket_values.py +0 -0
  346. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_histogram_timeseries_datapoint.py +0 -0
  347. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_real_time_timeseries_datapoint.py +0 -0
  348. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_referrer_domain_restriction.py +0 -0
  349. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_reload_web_input_response.py +0 -0
  350. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_score.py +0 -0
  351. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_shutdown_web_input_response.py +0 -0
  352. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_signal_live_stream_complete_response.py +0 -0
  353. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_signing_key.py +0 -0
  354. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_signing_key_response.py +0 -0
  355. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_signing_keys_api.py +0 -0
  356. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_simulcast_target.py +0 -0
  357. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_simulcast_target_response.py +0 -0
  358. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_space.py +0 -0
  359. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_space_response.py +0 -0
  360. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_space_status.py +0 -0
  361. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_space_type.py +0 -0
  362. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_spaces_api.py +0 -0
  363. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_start_space_broadcast_response.py +0 -0
  364. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_stop_space_broadcast_response.py +0 -0
  365. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_track.py +0 -0
  366. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_transcription_vocabularies_api.py +0 -0
  367. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_transcription_vocabulary.py +0 -0
  368. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_transcription_vocabulary_response.py +0 -0
  369. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_asset_master_access_request.py +0 -0
  370. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_asset_mp4_support_request.py +0 -0
  371. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_asset_request.py +0 -0
  372. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_live_stream_embedded_subtitles_request.py +0 -0
  373. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_live_stream_generated_subtitles_request.py +0 -0
  374. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_live_stream_request.py +0 -0
  375. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_referrer_domain_restriction_request.py +0 -0
  376. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_transcription_vocabulary_request.py +0 -0
  377. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_update_web_input_url_request.py +0 -0
  378. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_upload.py +0 -0
  379. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_upload_error.py +0 -0
  380. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_upload_response.py +0 -0
  381. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_url_signing_keys_api.py +0 -0
  382. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_video_view.py +0 -0
  383. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_video_view_event.py +0 -0
  384. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_video_view_response.py +0 -0
  385. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_video_views_api.py +0 -0
  386. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_web_input.py +0 -0
  387. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_web_input_response.py +0 -0
  388. {mux_python-3.15.0 → mux_python-3.17.0}/test/test_web_inputs_api.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mux_python
3
- Version: 3.15.0
3
+ Version: 3.17.0
4
4
  Summary: Mux API
5
5
  Home-page: https://github.com/muxinc/mux-python
6
6
  Author: Mux DevEx
@@ -15,10 +15,11 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "3.15.0"
18
+ __version__ = "3.17.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.assets_api import AssetsApi
22
+ from mux_python.api.drm_configurations_api import DRMConfigurationsApi
22
23
  from mux_python.api.delivery_usage_api import DeliveryUsageApi
23
24
  from mux_python.api.dimensions_api import DimensionsApi
24
25
  from mux_python.api.direct_uploads_api import DirectUploadsApi
@@ -78,6 +79,8 @@ from mux_python.models.create_track_response import CreateTrackResponse
78
79
  from mux_python.models.create_transcription_vocabulary_request import CreateTranscriptionVocabularyRequest
79
80
  from mux_python.models.create_upload_request import CreateUploadRequest
80
81
  from mux_python.models.create_web_input_request import CreateWebInputRequest
82
+ from mux_python.models.drm_configuration import DRMConfiguration
83
+ from mux_python.models.drm_configuration_response import DRMConfigurationResponse
81
84
  from mux_python.models.delivery_report import DeliveryReport
82
85
  from mux_python.models.delivery_report_delivered_seconds_by_resolution import DeliveryReportDeliveredSecondsByResolution
83
86
  from mux_python.models.dimension_value import DimensionValue
@@ -122,6 +125,7 @@ from mux_python.models.list_all_metric_values_response import ListAllMetricValue
122
125
  from mux_python.models.list_assets_response import ListAssetsResponse
123
126
  from mux_python.models.list_breakdown_values_response import ListBreakdownValuesResponse
124
127
  from mux_python.models.list_breakdown_values_response_meta import ListBreakdownValuesResponseMeta
128
+ from mux_python.models.list_drm_configurations_response import ListDRMConfigurationsResponse
125
129
  from mux_python.models.list_delivery_usage_response import ListDeliveryUsageResponse
126
130
  from mux_python.models.list_dimension_values_response import ListDimensionValuesResponse
127
131
  from mux_python.models.list_dimensions_response import ListDimensionsResponse
@@ -194,13 +198,17 @@ from mux_python.models.update_asset_master_access_request import UpdateAssetMast
194
198
  from mux_python.models.update_asset_request import UpdateAssetRequest
195
199
  from mux_python.models.update_live_stream_embedded_subtitles_request import UpdateLiveStreamEmbeddedSubtitlesRequest
196
200
  from mux_python.models.update_live_stream_generated_subtitles_request import UpdateLiveStreamGeneratedSubtitlesRequest
201
+ from mux_python.models.update_live_stream_new_asset_settings import UpdateLiveStreamNewAssetSettings
197
202
  from mux_python.models.update_live_stream_request import UpdateLiveStreamRequest
198
203
  from mux_python.models.update_referrer_domain_restriction_request import UpdateReferrerDomainRestrictionRequest
199
204
  from mux_python.models.update_transcription_vocabulary_request import UpdateTranscriptionVocabularyRequest
205
+ from mux_python.models.update_user_agent_restriction_request import UpdateUserAgentRestrictionRequest
200
206
  from mux_python.models.update_web_input_url_request import UpdateWebInputUrlRequest
201
207
  from mux_python.models.upload import Upload
202
208
  from mux_python.models.upload_error import UploadError
203
209
  from mux_python.models.upload_response import UploadResponse
210
+ from mux_python.models.user_agent_restriction_request import UserAgentRestrictionRequest
211
+ from mux_python.models.user_agent_restriction_settings import UserAgentRestrictionSettings
204
212
  from mux_python.models.video_view import VideoView
205
213
  from mux_python.models.video_view_event import VideoViewEvent
206
214
  from mux_python.models.video_view_response import VideoViewResponse
@@ -4,6 +4,7 @@ from __future__ import absolute_import
4
4
 
5
5
  # import apis into api package
6
6
  from mux_python.api.assets_api import AssetsApi
7
+ from mux_python.api.drm_configurations_api import DRMConfigurationsApi
7
8
  from mux_python.api.delivery_usage_api import DeliveryUsageApi
8
9
  from mux_python.api.dimensions_api import DimensionsApi
9
10
  from mux_python.api.direct_uploads_api import DirectUploadsApi
@@ -0,0 +1,311 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Mux API
5
+
6
+ Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. # noqa: E501
7
+
8
+ The version of the OpenAPI document: v1
9
+ Contact: devex@mux.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ from __future__ import absolute_import
15
+
16
+ import re # noqa: F401
17
+
18
+ # python 2 and python 3 compatibility library
19
+ import six
20
+
21
+ from mux_python.api_client import ApiClient
22
+ from mux_python.exceptions import ( # noqa: F401
23
+ ApiTypeError,
24
+ ApiValueError
25
+ )
26
+
27
+
28
+ class DRMConfigurationsApi(object):
29
+ """NOTE: This class is auto generated by OpenAPI Generator
30
+ Ref: https://openapi-generator.tech
31
+
32
+ Do not edit the class manually.
33
+ """
34
+
35
+ def __init__(self, api_client=None):
36
+ if api_client is None:
37
+ api_client = ApiClient()
38
+ self.api_client = api_client
39
+
40
+ def get_drm_configuration(self, drm_configuration_id, **kwargs): # noqa: E501
41
+ """Retrieve a DRM Configuration # noqa: E501
42
+
43
+ Retrieves a single DRM Configuration. # noqa: E501
44
+ This method makes a synchronous HTTP request by default. To make an
45
+ asynchronous HTTP request, please pass async_req=True
46
+
47
+ >>> thread = api.get_drm_configuration(drm_configuration_id, async_req=True)
48
+ >>> result = thread.get()
49
+
50
+ :param drm_configuration_id: The DRM Configuration ID. (required)
51
+ :type drm_configuration_id: str
52
+ :param async_req: Whether to execute the request asynchronously.
53
+ :type async_req: bool, optional
54
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
55
+ be returned without reading/decoding response
56
+ data. Default is True.
57
+ :type _preload_content: bool, optional
58
+ :param _request_timeout: timeout setting for this request. If one
59
+ number provided, it will be total request
60
+ timeout. It can also be a pair (tuple) of
61
+ (connection, read) timeouts.
62
+ :return: Returns the result object.
63
+ If the method is called asynchronously,
64
+ returns the request thread.
65
+ :rtype: DRMConfigurationResponse
66
+ """
67
+ kwargs['_return_http_data_only'] = True
68
+ return self.get_drm_configuration_with_http_info(drm_configuration_id, **kwargs) # noqa: E501
69
+
70
+ def get_drm_configuration_with_http_info(self, drm_configuration_id, **kwargs): # noqa: E501
71
+ """Retrieve a DRM Configuration # noqa: E501
72
+
73
+ Retrieves a single DRM Configuration. # noqa: E501
74
+ This method makes a synchronous HTTP request by default. To make an
75
+ asynchronous HTTP request, please pass async_req=True
76
+
77
+ >>> thread = api.get_drm_configuration_with_http_info(drm_configuration_id, async_req=True)
78
+ >>> result = thread.get()
79
+
80
+ :param drm_configuration_id: The DRM Configuration ID. (required)
81
+ :type drm_configuration_id: str
82
+ :param async_req: Whether to execute the request asynchronously.
83
+ :type async_req: bool, optional
84
+ :param _return_http_data_only: response data without head status code
85
+ and headers
86
+ :type _return_http_data_only: bool, optional
87
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
88
+ be returned without reading/decoding response
89
+ data. Default is True.
90
+ :type _preload_content: bool, optional
91
+ :param _request_timeout: timeout setting for this request. If one
92
+ number provided, it will be total request
93
+ timeout. It can also be a pair (tuple) of
94
+ (connection, read) timeouts.
95
+ :param _request_auth: set to override the auth_settings for an a single
96
+ request; this effectively ignores the authentication
97
+ in the spec for a single request.
98
+ :type _request_auth: dict, optional
99
+ :return: Returns the result object.
100
+ If the method is called asynchronously,
101
+ returns the request thread.
102
+ :rtype: tuple(DRMConfigurationResponse, status_code(int), headers(HTTPHeaderDict))
103
+ """
104
+
105
+ local_var_params = locals()
106
+
107
+ all_params = [
108
+ 'drm_configuration_id'
109
+ ]
110
+ all_params.extend(
111
+ [
112
+ 'async_req',
113
+ '_return_http_data_only',
114
+ '_preload_content',
115
+ '_request_timeout',
116
+ '_request_auth'
117
+ ]
118
+ )
119
+
120
+ for key, val in six.iteritems(local_var_params['kwargs']):
121
+ if key not in all_params:
122
+ raise ApiTypeError(
123
+ "Got an unexpected keyword argument '%s'"
124
+ " to method get_drm_configuration" % key
125
+ )
126
+ local_var_params[key] = val
127
+ del local_var_params['kwargs']
128
+ # verify the required parameter 'drm_configuration_id' is set
129
+ if self.api_client.client_side_validation and ('drm_configuration_id' not in local_var_params or # noqa: E501
130
+ local_var_params['drm_configuration_id'] is None): # noqa: E501
131
+ raise ApiValueError("Missing the required parameter `drm_configuration_id` when calling `get_drm_configuration`") # noqa: E501
132
+
133
+ collection_formats = {}
134
+
135
+ path_params = {}
136
+ if 'drm_configuration_id' in local_var_params:
137
+ path_params['DRM_CONFIGURATION_ID'] = local_var_params['drm_configuration_id'] # noqa: E501
138
+
139
+ query_params = []
140
+
141
+ header_params = {}
142
+
143
+ form_params = []
144
+ local_var_files = {}
145
+
146
+ body_params = None
147
+ # HTTP header `Accept`
148
+ header_params['Accept'] = self.api_client.select_header_accept(
149
+ ['application/json']) # noqa: E501
150
+
151
+ # Authentication setting
152
+ auth_settings = ['accessToken'] # noqa: E501
153
+
154
+ response_types_map = {
155
+ 200: "DRMConfigurationResponse",
156
+ }
157
+
158
+ return self.api_client.call_api(
159
+ '/video/v1/drm-configurations/{DRM_CONFIGURATION_ID}', 'GET',
160
+ path_params,
161
+ query_params,
162
+ header_params,
163
+ body=body_params,
164
+ post_params=form_params,
165
+ files=local_var_files,
166
+ response_types_map=response_types_map,
167
+ auth_settings=auth_settings,
168
+ async_req=local_var_params.get('async_req'),
169
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
170
+ _preload_content=local_var_params.get('_preload_content', True),
171
+ _request_timeout=local_var_params.get('_request_timeout'),
172
+ collection_formats=collection_formats,
173
+ _request_auth=local_var_params.get('_request_auth'))
174
+
175
+ def list_drm_configurations(self, **kwargs): # noqa: E501
176
+ """List DRM Configurations # noqa: E501
177
+
178
+ Returns a list of DRM Configurations # noqa: E501
179
+ This method makes a synchronous HTTP request by default. To make an
180
+ asynchronous HTTP request, please pass async_req=True
181
+
182
+ >>> thread = api.list_drm_configurations(async_req=True)
183
+ >>> result = thread.get()
184
+
185
+ :param page: Offset by this many pages, of the size of `limit`
186
+ :type page: int
187
+ :param limit: Number of items to include in the response
188
+ :type limit: int
189
+ :param async_req: Whether to execute the request asynchronously.
190
+ :type async_req: bool, optional
191
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
192
+ be returned without reading/decoding response
193
+ data. Default is True.
194
+ :type _preload_content: bool, optional
195
+ :param _request_timeout: timeout setting for this request. If one
196
+ number provided, it will be total request
197
+ timeout. It can also be a pair (tuple) of
198
+ (connection, read) timeouts.
199
+ :return: Returns the result object.
200
+ If the method is called asynchronously,
201
+ returns the request thread.
202
+ :rtype: ListDRMConfigurationsResponse
203
+ """
204
+ kwargs['_return_http_data_only'] = True
205
+ return self.list_drm_configurations_with_http_info(**kwargs) # noqa: E501
206
+
207
+ def list_drm_configurations_with_http_info(self, **kwargs): # noqa: E501
208
+ """List DRM Configurations # noqa: E501
209
+
210
+ Returns a list of DRM Configurations # noqa: E501
211
+ This method makes a synchronous HTTP request by default. To make an
212
+ asynchronous HTTP request, please pass async_req=True
213
+
214
+ >>> thread = api.list_drm_configurations_with_http_info(async_req=True)
215
+ >>> result = thread.get()
216
+
217
+ :param page: Offset by this many pages, of the size of `limit`
218
+ :type page: int
219
+ :param limit: Number of items to include in the response
220
+ :type limit: int
221
+ :param async_req: Whether to execute the request asynchronously.
222
+ :type async_req: bool, optional
223
+ :param _return_http_data_only: response data without head status code
224
+ and headers
225
+ :type _return_http_data_only: bool, optional
226
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
227
+ be returned without reading/decoding response
228
+ data. Default is True.
229
+ :type _preload_content: bool, optional
230
+ :param _request_timeout: timeout setting for this request. If one
231
+ number provided, it will be total request
232
+ timeout. It can also be a pair (tuple) of
233
+ (connection, read) timeouts.
234
+ :param _request_auth: set to override the auth_settings for an a single
235
+ request; this effectively ignores the authentication
236
+ in the spec for a single request.
237
+ :type _request_auth: dict, optional
238
+ :return: Returns the result object.
239
+ If the method is called asynchronously,
240
+ returns the request thread.
241
+ :rtype: tuple(ListDRMConfigurationsResponse, status_code(int), headers(HTTPHeaderDict))
242
+ """
243
+
244
+ local_var_params = locals()
245
+
246
+ all_params = [
247
+ 'page',
248
+ 'limit'
249
+ ]
250
+ all_params.extend(
251
+ [
252
+ 'async_req',
253
+ '_return_http_data_only',
254
+ '_preload_content',
255
+ '_request_timeout',
256
+ '_request_auth'
257
+ ]
258
+ )
259
+
260
+ for key, val in six.iteritems(local_var_params['kwargs']):
261
+ if key not in all_params:
262
+ raise ApiTypeError(
263
+ "Got an unexpected keyword argument '%s'"
264
+ " to method list_drm_configurations" % key
265
+ )
266
+ local_var_params[key] = val
267
+ del local_var_params['kwargs']
268
+
269
+ collection_formats = {}
270
+
271
+ path_params = {}
272
+
273
+ query_params = []
274
+ if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
275
+ query_params.append(('page', local_var_params['page'])) # noqa: E501
276
+ if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
277
+ query_params.append(('limit', local_var_params['limit'])) # noqa: E501
278
+
279
+ header_params = {}
280
+
281
+ form_params = []
282
+ local_var_files = {}
283
+
284
+ body_params = None
285
+ # HTTP header `Accept`
286
+ header_params['Accept'] = self.api_client.select_header_accept(
287
+ ['application/json']) # noqa: E501
288
+
289
+ # Authentication setting
290
+ auth_settings = ['accessToken'] # noqa: E501
291
+
292
+ response_types_map = {
293
+ 200: "ListDRMConfigurationsResponse",
294
+ }
295
+
296
+ return self.api_client.call_api(
297
+ '/video/v1/drm-configurations', 'GET',
298
+ path_params,
299
+ query_params,
300
+ header_params,
301
+ body=body_params,
302
+ post_params=form_params,
303
+ files=local_var_files,
304
+ response_types_map=response_types_map,
305
+ auth_settings=auth_settings,
306
+ async_req=local_var_params.get('async_req'),
307
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
308
+ _preload_content=local_var_params.get('_preload_content', True),
309
+ _request_timeout=local_var_params.get('_request_timeout'),
310
+ collection_formats=collection_formats,
311
+ _request_auth=local_var_params.get('_request_auth'))
@@ -55,7 +55,7 @@ class MetricsApi(object):
55
55
  :type filters: list[str]
56
56
  :param metric_filters: Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000`
57
57
  :type metric_filters: list[str]
58
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
58
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
59
59
  :type measurement: str
60
60
  :param order_direction: Sort order.
61
61
  :type order_direction: str
@@ -97,7 +97,7 @@ class MetricsApi(object):
97
97
  :type filters: list[str]
98
98
  :param metric_filters: Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000`
99
99
  :type metric_filters: list[str]
100
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
100
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
101
101
  :type measurement: str
102
102
  :param order_direction: Sort order.
103
103
  :type order_direction: str
@@ -235,7 +235,7 @@ class MetricsApi(object):
235
235
  :type filters: list[str]
236
236
  :param metric_filters: Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000`
237
237
  :type metric_filters: list[str]
238
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
238
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
239
239
  :type measurement: str
240
240
  :param async_req: Whether to execute the request asynchronously.
241
241
  :type async_req: bool, optional
@@ -273,7 +273,7 @@ class MetricsApi(object):
273
273
  :type filters: list[str]
274
274
  :param metric_filters: Limit the results to rows that match inequality conditions from provided metric comparison clauses. Must be provided as an array query string parameter. Possible filterable metrics are the same as the set of metric ids, with the exceptions of `exits_before_video_start`, `unique_viewers`, `video_startup_failure_percentage`, and `views`. Example: * `metric_filters[]=aggregate_startup_time>=1000`
275
275
  :type metric_filters: list[str]
276
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
276
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
277
277
  :type measurement: str
278
278
  :param async_req: Whether to execute the request asynchronously.
279
279
  :type async_req: bool, optional
@@ -559,7 +559,7 @@ class MetricsApi(object):
559
559
  :type metric_id: str
560
560
  :param group_by: Breakdown value to group the results by
561
561
  :type group_by: str
562
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
562
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
563
563
  :type measurement: str
564
564
  :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
565
565
  :type filters: list[str]
@@ -607,7 +607,7 @@ class MetricsApi(object):
607
607
  :type metric_id: str
608
608
  :param group_by: Breakdown value to group the results by
609
609
  :type group_by: str
610
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
610
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
611
611
  :type measurement: str
612
612
  :param filters: Limit the results to rows that match conditions from provided key:value pairs. Must be provided as an array query string parameter. To exclude rows that match a certain condition, prepend a `!` character to the dimension. Possible filter names are the same as returned by the List Filters endpoint. Example: * `filters[]=operating_system:windows&filters[]=!country:US`
613
613
  :type filters: list[str]
@@ -758,7 +758,7 @@ class MetricsApi(object):
758
758
 
759
759
  :param metric_id: ID of the Metric (required)
760
760
  :type metric_id: str
761
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
761
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
762
762
  :type measurement: str
763
763
  :param order_direction: Sort order.
764
764
  :type order_direction: str
@@ -798,7 +798,7 @@ class MetricsApi(object):
798
798
 
799
799
  :param metric_id: ID of the Metric (required)
800
800
  :type metric_id: str
801
- :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used.
801
+ :param measurement: Measurement for the provided metric. If omitted, the default for the metric will be used. The default measurement for each metric is: \"sum\" : `ad_attempt_count`, `ad_break_count`, `ad_break_error_count`, `ad_error_count`, `ad_impression_count`, `playing_time` \"median\" : `ad_preroll_startup_time`, `ad_watch_time`, `aggregate_startup_time`, `content_startup_time`, `content_watch_time`, `max_downscale_percentage`, `max_upscale_percentage`, `page_load_time`, `player_average_live_latency`, `player_startup_time`, `rebuffer_count`, `rebuffer_duration`, `requests_for_first_preroll`, `video_startup_preroll_load_time`, `video_startup_preroll_request_time`, `video_startup_time`, `view_average_request_latency`, `view_average_request_throughput`, `view_max_request_latency`, `weighted_average_bitrate` \"avg\" : `ad_break_error_percentage`, `ad_error_percentage`, `ad_exit_before_start_count`, `ad_exit_before_start_percentage`, `ad_playback_failure_percentage`, `ad_startup_error_count`, `ad_startup_error_percentage`, `content_playback_failure_percentage`, `downscale_percentage`, `exits_before_video_start`, `playback_business_exception_percentage`, `playback_failure_percentage`, `playback_success_score`, `rebuffer_frequency`, `rebuffer_percentage`, `seek_latency`, `smoothness_score`, `startup_time_score`, `upscale_percentage`, `video_quality_score`, `video_startup_business_exception_percentage`, `video_startup_failure_percentage`, `viewer_experience_score` \"count\" : `started_views`, `unique_viewers`
802
802
  :type measurement: str
803
803
  :param order_direction: Sort order.
804
804
  :type order_direction: str
@@ -727,3 +727,153 @@ class PlaybackRestrictionsApi(object):
727
727
  _request_timeout=local_var_params.get('_request_timeout'),
728
728
  collection_formats=collection_formats,
729
729
  _request_auth=local_var_params.get('_request_auth'))
730
+
731
+ def update_user_agent_restriction(self, playback_restriction_id, update_user_agent_restriction_request, **kwargs): # noqa: E501
732
+ """Update the User Agent Restriction # noqa: E501
733
+
734
+ Allows you to modify how Mux validates playback requests with different user agents. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-header-for-validation) for more details on this feature. # noqa: E501
735
+ This method makes a synchronous HTTP request by default. To make an
736
+ asynchronous HTTP request, please pass async_req=True
737
+
738
+ >>> thread = api.update_user_agent_restriction(playback_restriction_id, update_user_agent_restriction_request, async_req=True)
739
+ >>> result = thread.get()
740
+
741
+ :param playback_restriction_id: ID of the Playback Restriction. (required)
742
+ :type playback_restriction_id: str
743
+ :param update_user_agent_restriction_request: (required)
744
+ :type update_user_agent_restriction_request: UpdateUserAgentRestrictionRequest
745
+ :param async_req: Whether to execute the request asynchronously.
746
+ :type async_req: bool, optional
747
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
748
+ be returned without reading/decoding response
749
+ data. Default is True.
750
+ :type _preload_content: bool, optional
751
+ :param _request_timeout: timeout setting for this request. If one
752
+ number provided, it will be total request
753
+ timeout. It can also be a pair (tuple) of
754
+ (connection, read) timeouts.
755
+ :return: Returns the result object.
756
+ If the method is called asynchronously,
757
+ returns the request thread.
758
+ :rtype: PlaybackRestrictionResponse
759
+ """
760
+ kwargs['_return_http_data_only'] = True
761
+ return self.update_user_agent_restriction_with_http_info(playback_restriction_id, update_user_agent_restriction_request, **kwargs) # noqa: E501
762
+
763
+ def update_user_agent_restriction_with_http_info(self, playback_restriction_id, update_user_agent_restriction_request, **kwargs): # noqa: E501
764
+ """Update the User Agent Restriction # noqa: E501
765
+
766
+ Allows you to modify how Mux validates playback requests with different user agents. Please see [Using User-Agent HTTP header for validation](https://docs.mux.com/guides/secure-video-playback#using-user-agent-http-header-for-validation) for more details on this feature. # noqa: E501
767
+ This method makes a synchronous HTTP request by default. To make an
768
+ asynchronous HTTP request, please pass async_req=True
769
+
770
+ >>> thread = api.update_user_agent_restriction_with_http_info(playback_restriction_id, update_user_agent_restriction_request, async_req=True)
771
+ >>> result = thread.get()
772
+
773
+ :param playback_restriction_id: ID of the Playback Restriction. (required)
774
+ :type playback_restriction_id: str
775
+ :param update_user_agent_restriction_request: (required)
776
+ :type update_user_agent_restriction_request: UpdateUserAgentRestrictionRequest
777
+ :param async_req: Whether to execute the request asynchronously.
778
+ :type async_req: bool, optional
779
+ :param _return_http_data_only: response data without head status code
780
+ and headers
781
+ :type _return_http_data_only: bool, optional
782
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
783
+ be returned without reading/decoding response
784
+ data. Default is True.
785
+ :type _preload_content: bool, optional
786
+ :param _request_timeout: timeout setting for this request. If one
787
+ number provided, it will be total request
788
+ timeout. It can also be a pair (tuple) of
789
+ (connection, read) timeouts.
790
+ :param _request_auth: set to override the auth_settings for an a single
791
+ request; this effectively ignores the authentication
792
+ in the spec for a single request.
793
+ :type _request_auth: dict, optional
794
+ :return: Returns the result object.
795
+ If the method is called asynchronously,
796
+ returns the request thread.
797
+ :rtype: tuple(PlaybackRestrictionResponse, status_code(int), headers(HTTPHeaderDict))
798
+ """
799
+
800
+ local_var_params = locals()
801
+
802
+ all_params = [
803
+ 'playback_restriction_id',
804
+ 'update_user_agent_restriction_request'
805
+ ]
806
+ all_params.extend(
807
+ [
808
+ 'async_req',
809
+ '_return_http_data_only',
810
+ '_preload_content',
811
+ '_request_timeout',
812
+ '_request_auth'
813
+ ]
814
+ )
815
+
816
+ for key, val in six.iteritems(local_var_params['kwargs']):
817
+ if key not in all_params:
818
+ raise ApiTypeError(
819
+ "Got an unexpected keyword argument '%s'"
820
+ " to method update_user_agent_restriction" % key
821
+ )
822
+ local_var_params[key] = val
823
+ del local_var_params['kwargs']
824
+ # verify the required parameter 'playback_restriction_id' is set
825
+ if self.api_client.client_side_validation and ('playback_restriction_id' not in local_var_params or # noqa: E501
826
+ local_var_params['playback_restriction_id'] is None): # noqa: E501
827
+ raise ApiValueError("Missing the required parameter `playback_restriction_id` when calling `update_user_agent_restriction`") # noqa: E501
828
+ # verify the required parameter 'update_user_agent_restriction_request' is set
829
+ if self.api_client.client_side_validation and ('update_user_agent_restriction_request' not in local_var_params or # noqa: E501
830
+ local_var_params['update_user_agent_restriction_request'] is None): # noqa: E501
831
+ raise ApiValueError("Missing the required parameter `update_user_agent_restriction_request` when calling `update_user_agent_restriction`") # noqa: E501
832
+
833
+ collection_formats = {}
834
+
835
+ path_params = {}
836
+ if 'playback_restriction_id' in local_var_params:
837
+ path_params['PLAYBACK_RESTRICTION_ID'] = local_var_params['playback_restriction_id'] # noqa: E501
838
+
839
+ query_params = []
840
+
841
+ header_params = {}
842
+
843
+ form_params = []
844
+ local_var_files = {}
845
+
846
+ body_params = None
847
+ if 'update_user_agent_restriction_request' in local_var_params:
848
+ body_params = local_var_params['update_user_agent_restriction_request']
849
+ # HTTP header `Accept`
850
+ header_params['Accept'] = self.api_client.select_header_accept(
851
+ ['application/json']) # noqa: E501
852
+
853
+ # HTTP header `Content-Type`
854
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
855
+ ['application/json']) # noqa: E501
856
+
857
+ # Authentication setting
858
+ auth_settings = ['accessToken'] # noqa: E501
859
+
860
+ response_types_map = {
861
+ 200: "PlaybackRestrictionResponse",
862
+ }
863
+
864
+ return self.api_client.call_api(
865
+ '/video/v1/playback-restrictions/{PLAYBACK_RESTRICTION_ID}/user_agent', 'PUT',
866
+ path_params,
867
+ query_params,
868
+ header_params,
869
+ body=body_params,
870
+ post_params=form_params,
871
+ files=local_var_files,
872
+ response_types_map=response_types_map,
873
+ auth_settings=auth_settings,
874
+ async_req=local_var_params.get('async_req'),
875
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
876
+ _preload_content=local_var_params.get('_preload_content', True),
877
+ _request_timeout=local_var_params.get('_request_timeout'),
878
+ collection_formats=collection_formats,
879
+ _request_auth=local_var_params.get('_request_auth'))
@@ -79,7 +79,7 @@ class ApiClient(object):
79
79
  self.default_headers[header_name] = header_value
80
80
  self.cookie = cookie
81
81
  # Set default User-Agent.
82
- self.user_agent = 'OpenAPI-Generator/3.15.0/python'
82
+ self.user_agent = 'Mux Python | 3.17.0'
83
83
  self.client_side_validation = configuration.client_side_validation
84
84
 
85
85
  def __enter__(self):
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
406
406
  "OS: {env}\n"\
407
407
  "Python Version: {pyversion}\n"\
408
408
  "Version of the API: v1\n"\
409
- "SDK Package Version: 3.15.0".\
409
+ "SDK Package Version: 3.17.0".\
410
410
  format(env=sys.platform, pyversion=sys.version)
411
411
 
412
412
  def get_host_settings(self):