mux_ruby 2.0.0.pre.rc.1 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +6 -6
  3. data/README.md +5 -4
  4. data/docs/Asset.md +4 -2
  5. data/docs/AssetsApi.md +10 -4
  6. data/docs/CreateLiveStreamRequest.md +4 -0
  7. data/docs/CreateTrackRequest.md +1 -1
  8. data/docs/DeliveryUsageApi.md +3 -3
  9. data/docs/ErrorsApi.md +1 -1
  10. data/docs/ExportDate.md +20 -0
  11. data/docs/ExportFile.md +22 -0
  12. data/docs/ExportsApi.md +69 -1
  13. data/docs/IncidentsApi.md +3 -3
  14. data/docs/ListVideoViewExportsResponse.md +22 -0
  15. data/docs/LiveStream.md +4 -0
  16. data/docs/MetricsApi.md +13 -13
  17. data/docs/PlaybackIDApi.md +1 -1
  18. data/docs/RealTimeApi.md +5 -5
  19. data/docs/RealTimeBreakdownValue.md +2 -2
  20. data/docs/RealTimeTimeseriesDatapoint.md +2 -2
  21. data/docs/URLSigningKeysApi.md +3 -3
  22. data/docs/VideoView.md +17 -1
  23. data/docs/VideoViewsApi.md +2 -2
  24. data/gen/generator-config.json +2 -1
  25. data/gen/templates/gemspec.mustache +1 -0
  26. data/lib/mux_ruby/api/assets_api.rb +16 -8
  27. data/lib/mux_ruby/api/delivery_usage_api.rb +6 -6
  28. data/lib/mux_ruby/api/dimensions_api.rb +2 -2
  29. data/lib/mux_ruby/api/direct_uploads_api.rb +2 -2
  30. data/lib/mux_ruby/api/errors_api.rb +4 -4
  31. data/lib/mux_ruby/api/exports_api.rb +61 -4
  32. data/lib/mux_ruby/api/filters_api.rb +2 -2
  33. data/lib/mux_ruby/api/incidents_api.rb +8 -8
  34. data/lib/mux_ruby/api/live_streams_api.rb +2 -2
  35. data/lib/mux_ruby/api/metrics_api.rb +28 -28
  36. data/lib/mux_ruby/api/playback_id_api.rb +4 -4
  37. data/lib/mux_ruby/api/real_time_api.rb +12 -12
  38. data/lib/mux_ruby/api/url_signing_keys_api.rb +8 -8
  39. data/lib/mux_ruby/api/video_views_api.rb +6 -6
  40. data/lib/mux_ruby/api_client.rb +2 -2
  41. data/lib/mux_ruby/api_error.rb +2 -2
  42. data/lib/mux_ruby/configuration.rb +2 -2
  43. data/lib/mux_ruby/models/abridged_video_view.rb +2 -2
  44. data/lib/mux_ruby/models/asset.rb +15 -5
  45. data/lib/mux_ruby/models/asset_errors.rb +2 -2
  46. data/lib/mux_ruby/models/asset_master.rb +2 -2
  47. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +2 -2
  48. data/lib/mux_ruby/models/asset_recording_times.rb +2 -2
  49. data/lib/mux_ruby/models/asset_response.rb +2 -2
  50. data/lib/mux_ruby/models/asset_static_renditions.rb +2 -2
  51. data/lib/mux_ruby/models/asset_static_renditions_files.rb +2 -2
  52. data/lib/mux_ruby/models/breakdown_value.rb +2 -2
  53. data/lib/mux_ruby/models/create_asset_request.rb +2 -2
  54. data/lib/mux_ruby/models/create_live_stream_request.rb +23 -3
  55. data/lib/mux_ruby/models/create_playback_id_request.rb +2 -2
  56. data/lib/mux_ruby/models/create_playback_id_response.rb +2 -2
  57. data/lib/mux_ruby/models/create_simulcast_target_request.rb +2 -2
  58. data/lib/mux_ruby/models/create_track_request.rb +3 -3
  59. data/lib/mux_ruby/models/create_track_response.rb +2 -2
  60. data/lib/mux_ruby/models/create_upload_request.rb +2 -2
  61. data/lib/mux_ruby/models/delivery_report.rb +2 -2
  62. data/lib/mux_ruby/models/dimension_value.rb +2 -2
  63. data/lib/mux_ruby/models/disable_live_stream_response.rb +2 -2
  64. data/lib/mux_ruby/models/enable_live_stream_response.rb +2 -2
  65. data/lib/mux_ruby/models/error.rb +2 -2
  66. data/lib/mux_ruby/models/export_date.rb +229 -0
  67. data/lib/mux_ruby/models/export_file.rb +236 -0
  68. data/lib/mux_ruby/models/filter_value.rb +2 -2
  69. data/lib/mux_ruby/models/get_asset_input_info_response.rb +2 -2
  70. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response.rb +2 -2
  71. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data.rb +2 -2
  72. data/lib/mux_ruby/models/get_asset_or_live_stream_id_response_data_object.rb +2 -2
  73. data/lib/mux_ruby/models/get_asset_playback_id_response.rb +2 -2
  74. data/lib/mux_ruby/models/get_metric_timeseries_data_response.rb +2 -2
  75. data/lib/mux_ruby/models/get_overall_values_response.rb +2 -2
  76. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +2 -2
  77. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +2 -2
  78. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +2 -2
  79. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +2 -2
  80. data/lib/mux_ruby/models/incident.rb +2 -2
  81. data/lib/mux_ruby/models/incident_breakdown.rb +2 -2
  82. data/lib/mux_ruby/models/incident_notification.rb +2 -2
  83. data/lib/mux_ruby/models/incident_notification_rule.rb +2 -2
  84. data/lib/mux_ruby/models/incident_response.rb +2 -2
  85. data/lib/mux_ruby/models/input_file.rb +2 -2
  86. data/lib/mux_ruby/models/input_info.rb +2 -2
  87. data/lib/mux_ruby/models/input_settings.rb +2 -2
  88. data/lib/mux_ruby/models/input_settings_overlay_settings.rb +2 -2
  89. data/lib/mux_ruby/models/input_track.rb +2 -2
  90. data/lib/mux_ruby/models/insight.rb +2 -2
  91. data/lib/mux_ruby/models/list_all_metric_values_response.rb +2 -2
  92. data/lib/mux_ruby/models/list_assets_response.rb +2 -2
  93. data/lib/mux_ruby/models/list_breakdown_values_response.rb +2 -2
  94. data/lib/mux_ruby/models/list_delivery_usage_response.rb +2 -2
  95. data/lib/mux_ruby/models/list_dimension_values_response.rb +2 -2
  96. data/lib/mux_ruby/models/list_dimensions_response.rb +2 -2
  97. data/lib/mux_ruby/models/list_errors_response.rb +2 -2
  98. data/lib/mux_ruby/models/list_exports_response.rb +2 -2
  99. data/lib/mux_ruby/models/list_filter_values_response.rb +2 -2
  100. data/lib/mux_ruby/models/list_filters_response.rb +2 -2
  101. data/lib/mux_ruby/models/list_filters_response_data.rb +2 -2
  102. data/lib/mux_ruby/models/list_incidents_response.rb +2 -2
  103. data/lib/mux_ruby/models/list_insights_response.rb +2 -2
  104. data/lib/mux_ruby/models/list_live_streams_response.rb +2 -2
  105. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +2 -2
  106. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +2 -2
  107. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +2 -2
  108. data/lib/mux_ruby/models/list_related_incidents_response.rb +2 -2
  109. data/lib/mux_ruby/models/list_signing_keys_response.rb +2 -2
  110. data/lib/mux_ruby/models/list_uploads_response.rb +2 -2
  111. data/lib/mux_ruby/models/list_video_view_exports_response.rb +240 -0
  112. data/lib/mux_ruby/models/list_video_views_response.rb +2 -2
  113. data/lib/mux_ruby/models/live_stream.rb +23 -3
  114. data/lib/mux_ruby/models/live_stream_response.rb +2 -2
  115. data/lib/mux_ruby/models/metric.rb +2 -2
  116. data/lib/mux_ruby/models/notification_rule.rb +2 -2
  117. data/lib/mux_ruby/models/overall_values.rb +2 -2
  118. data/lib/mux_ruby/models/playback_id.rb +2 -2
  119. data/lib/mux_ruby/models/playback_policy.rb +2 -2
  120. data/lib/mux_ruby/models/real_time_breakdown_value.rb +9 -9
  121. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +2 -2
  122. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +2 -2
  123. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +2 -2
  124. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +9 -9
  125. data/lib/mux_ruby/models/score.rb +2 -2
  126. data/lib/mux_ruby/models/signal_live_stream_complete_response.rb +2 -2
  127. data/lib/mux_ruby/models/signing_key.rb +2 -2
  128. data/lib/mux_ruby/models/signing_key_response.rb +2 -2
  129. data/lib/mux_ruby/models/simulcast_target.rb +2 -2
  130. data/lib/mux_ruby/models/simulcast_target_response.rb +2 -2
  131. data/lib/mux_ruby/models/track.rb +2 -2
  132. data/lib/mux_ruby/models/update_asset_master_access_request.rb +2 -2
  133. data/lib/mux_ruby/models/update_asset_mp4_support_request.rb +2 -2
  134. data/lib/mux_ruby/models/upload.rb +2 -2
  135. data/lib/mux_ruby/models/upload_error.rb +2 -2
  136. data/lib/mux_ruby/models/upload_response.rb +2 -2
  137. data/lib/mux_ruby/models/video_view.rb +78 -6
  138. data/lib/mux_ruby/models/video_view_event.rb +2 -2
  139. data/lib/mux_ruby/models/video_view_response.rb +2 -2
  140. data/lib/mux_ruby/version.rb +3 -3
  141. data/lib/mux_ruby.rb +5 -2
  142. data/mux_ruby.gemspec +3 -2
  143. data/spec/api_client_spec.rb +2 -2
  144. data/spec/configuration_spec.rb +2 -2
  145. data/spec/models/export_date_spec.rb +40 -0
  146. data/spec/models/export_file_spec.rb +46 -0
  147. data/spec/models/list_video_view_exports_response_spec.rb +46 -0
  148. data/spec/spec_helper.rb +2 -2
  149. metadata +109 -96
@@ -13,7 +13,7 @@ All URIs are relative to *https://api.mux.com*
13
13
 
14
14
  Retrieve an Asset or Live Stream ID
15
15
 
16
- Retrieves the Identifier of the Asset or Live Stream associated with the Playback ID.
16
+ Retrieves the Identifier of the Asset or Live Stream associated with the Playback ID.
17
17
 
18
18
  ### Examples
19
19
 
data/docs/RealTimeApi.md CHANGED
@@ -17,7 +17,7 @@ All URIs are relative to *https://api.mux.com*
17
17
 
18
18
  Get Real-Time Breakdown
19
19
 
20
- Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
20
+ Gets breakdown information for a specific dimension and metric along with the number of concurrent viewers and negative impact score.
21
21
 
22
22
  ### Examples
23
23
 
@@ -99,7 +99,7 @@ end
99
99
 
100
100
  Get Real-Time Histogram Timeseries
101
101
 
102
- Gets histogram timeseries information for a specific metric.
102
+ Gets histogram timeseries information for a specific metric.
103
103
 
104
104
  ### Examples
105
105
 
@@ -173,7 +173,7 @@ end
173
173
 
174
174
  Get Real-Time Timeseries
175
175
 
176
- Gets Time series information for a specific metric along with the number of concurrent viewers.
176
+ Gets Time series information for a specific metric along with the number of concurrent viewers.
177
177
 
178
178
  ### Examples
179
179
 
@@ -247,7 +247,7 @@ end
247
247
 
248
248
  List Real-Time Dimensions
249
249
 
250
- Lists availiable real-time dimensions
250
+ Lists available real-time dimensions.
251
251
 
252
252
  ### Examples
253
253
 
@@ -314,7 +314,7 @@ This endpoint does not need any parameter.
314
314
 
315
315
  List Real-Time Metrics
316
316
 
317
- Lists availiable real-time metrics.
317
+ Lists available real-time metrics.
318
318
 
319
319
  ### Examples
320
320
 
@@ -8,7 +8,7 @@
8
8
  | **negative_impact** | **Integer** | | [optional] |
9
9
  | **metric_value** | **Float** | | [optional] |
10
10
  | **display_value** | **String** | | [optional] |
11
- | **concurent_viewers** | **Integer** | | [optional] |
11
+ | **concurrent_viewers** | **Integer** | | [optional] |
12
12
 
13
13
  ## Example
14
14
 
@@ -20,7 +20,7 @@ instance = MuxRuby::RealTimeBreakdownValue.new(
20
20
  negative_impact: null,
21
21
  metric_value: null,
22
22
  display_value: null,
23
- concurent_viewers: null
23
+ concurrent_viewers: null
24
24
  )
25
25
  ```
26
26
 
@@ -6,7 +6,7 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **value** | **Float** | | [optional] |
8
8
  | **date** | **String** | | [optional] |
9
- | **concurent_viewers** | **Integer** | | [optional] |
9
+ | **concurrent_viewers** | **Integer** | | [optional] |
10
10
 
11
11
  ## Example
12
12
 
@@ -16,7 +16,7 @@ require 'mux_ruby'
16
16
  instance = MuxRuby::RealTimeTimeseriesDatapoint.new(
17
17
  value: null,
18
18
  date: null,
19
- concurent_viewers: null
19
+ concurrent_viewers: null
20
20
  )
21
21
  ```
22
22
 
@@ -16,7 +16,7 @@ All URIs are relative to *https://api.mux.com*
16
16
 
17
17
  Create a URL signing key
18
18
 
19
- Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
19
+ Creates a new signing key pair. When creating a new signing key, the API will generate a 2048-bit RSA key-pair and return the private key and a generated key-id; the public key will be stored at Mux to validate signed tokens.
20
20
 
21
21
  ### Examples
22
22
 
@@ -83,7 +83,7 @@ This endpoint does not need any parameter.
83
83
 
84
84
  Delete a URL signing key
85
85
 
86
- Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
86
+ Deletes an existing signing key. Use with caution, as this will invalidate any existing signatures and no URLs can be signed using the key again.
87
87
 
88
88
  ### Examples
89
89
 
@@ -222,7 +222,7 @@ end
222
222
 
223
223
  List URL signing keys
224
224
 
225
- Returns a list of URL signing keys.
225
+ Returns a list of URL signing keys.
226
226
 
227
227
  ### Examples
228
228
 
data/docs/VideoView.md CHANGED
@@ -116,6 +116,14 @@
116
116
  | **quality_score** | **String** | | [optional] |
117
117
  | **player_software_version** | **String** | | [optional] |
118
118
  | **player_mux_plugin_name** | **String** | | [optional] |
119
+ | **sub_property_id** | **String** | | [optional] |
120
+ | **player_remote_played** | **Boolean** | | [optional] |
121
+ | **view_max_playhead_position** | **String** | | [optional] |
122
+ | **view_playing_time** | **String** | | [optional] |
123
+ | **view_session_id** | **String** | | [optional] |
124
+ | **viewer_connection_type** | **String** | | [optional] |
125
+ | **viewer_device_model** | **String** | | [optional] |
126
+ | **weighted_average_bitrate** | **Integer** | | [optional] |
119
127
 
120
128
  ## Example
121
129
 
@@ -234,7 +242,15 @@ instance = MuxRuby::VideoView.new(
234
242
  asn_name: null,
235
243
  quality_score: null,
236
244
  player_software_version: null,
237
- player_mux_plugin_name: null
245
+ player_mux_plugin_name: null,
246
+ sub_property_id: null,
247
+ player_remote_played: null,
248
+ view_max_playhead_position: null,
249
+ view_playing_time: null,
250
+ view_session_id: null,
251
+ viewer_connection_type: null,
252
+ viewer_device_model: null,
253
+ weighted_average_bitrate: null
238
254
  )
239
255
  ```
240
256
 
@@ -14,7 +14,7 @@ All URIs are relative to *https://api.mux.com*
14
14
 
15
15
  Get a Video View
16
16
 
17
- Returns the details of a video view
17
+ Returns the details of a video view.
18
18
 
19
19
  ### Examples
20
20
 
@@ -84,7 +84,7 @@ end
84
84
 
85
85
  List Video Views
86
86
 
87
- Returns a list of video views
87
+ Returns a list of video views.
88
88
 
89
89
  ### Examples
90
90
 
@@ -5,7 +5,8 @@
5
5
  "gemAuthorEmail": "devex@mux.com",
6
6
  "gemDescription": "The Ruby client for Mux Data and Mux Video.",
7
7
  "gemHomepage": "https://docs.mux.com",
8
+ "gemSourceLocation": "https://github.com/muxinc/mux-ruby",
8
9
  "gemLicense": "MIT",
9
10
  "moduleName": "MuxRuby",
10
- "gemVersion": "2.0.0-rc.1"
11
+ "gemVersion": "2.1.1"
11
12
  }
@@ -16,6 +16,7 @@ Gem::Specification.new do |s|
16
16
  s.homepage = "{{gemHomepage}}{{^gemHomepage}}https://openapi-generator.tech{{/gemHomepage}}"
17
17
  s.summary = "{{gemSummary}}{{^gemSummary}}{{{appName}}} Ruby Gem{{/gemSummary}}"
18
18
  s.description = "{{gemDescription}}{{^gemDescription}}{{{appDescription}}}{{^appDescription}}{{{appName}}} Ruby Gem{{/appDescription}}{{/gemDescription}}"
19
+ s.metadata = { "source_code_uri" => "{{gemSourceLocation}}" }
19
20
  s.license = "{{{gemLicense}}}{{^gemLicense}}Unlicense{{/gemLicense}}"
20
21
  s.required_ruby_version = "{{{gemRequiredRubyVersion}}}{{^gemRequiredRubyVersion}}>= 2.4{{/gemRequiredRubyVersion}}"
21
22
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # Create an asset
23
- # Create a new Mux Video asset.
23
+ # Create a new Mux Video asset.
24
24
  # @param create_asset_request [CreateAssetRequest]
25
25
  # @param [Hash] opts the optional parameters
26
26
  # @return [AssetResponse]
@@ -30,7 +30,7 @@ module MuxRuby
30
30
  end
31
31
 
32
32
  # Create an asset
33
- # Create a new Mux Video asset.
33
+ # Create a new Mux Video asset.
34
34
  # @param create_asset_request [CreateAssetRequest]
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @return [Array<(AssetResponse, Integer, Hash)>] AssetResponse data, response status code and response headers
@@ -223,7 +223,7 @@ module MuxRuby
223
223
  end
224
224
 
225
225
  # Delete an asset
226
- # Deletes a video asset and all its data
226
+ # Deletes a video asset and all its data.
227
227
  # @param asset_id [String] The asset ID.
228
228
  # @param [Hash] opts the optional parameters
229
229
  # @return [nil]
@@ -233,7 +233,7 @@ module MuxRuby
233
233
  end
234
234
 
235
235
  # Delete an asset
236
- # Deletes a video asset and all its data
236
+ # Deletes a video asset and all its data.
237
237
  # @param asset_id [String] The asset ID.
238
238
  # @param [Hash] opts the optional parameters
239
239
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
@@ -349,6 +349,7 @@ module MuxRuby
349
349
  end
350
350
 
351
351
  # Delete an asset track
352
+ # Removes a text track from an asset. Audio and video tracks on assets cannot be removed.
352
353
  # @param asset_id [String] The asset ID.
353
354
  # @param track_id [String] The track ID.
354
355
  # @param [Hash] opts the optional parameters
@@ -359,6 +360,7 @@ module MuxRuby
359
360
  end
360
361
 
361
362
  # Delete an asset track
363
+ # Removes a text track from an asset. Audio and video tracks on assets cannot be removed.
362
364
  # @param asset_id [String] The asset ID.
363
365
  # @param track_id [String] The track ID.
364
366
  # @param [Hash] opts the optional parameters
@@ -607,10 +609,12 @@ module MuxRuby
607
609
  end
608
610
 
609
611
  # List assets
610
- # List all Mux assets.
612
+ # List all Mux assets.
611
613
  # @param [Hash] opts the optional parameters
612
614
  # @option opts [Integer] :limit Number of items to include in the response (default to 25)
613
615
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60; (default to 1)
616
+ # @option opts [String] :live_stream_id Filter response to return all the assets for this live stream only
617
+ # @option opts [String] :upload_id Filter response to return an asset created from this direct upload only
614
618
  # @return [ListAssetsResponse]
615
619
  def list_assets(opts = {})
616
620
  data, _status_code, _headers = list_assets_with_http_info(opts)
@@ -618,10 +622,12 @@ module MuxRuby
618
622
  end
619
623
 
620
624
  # List assets
621
- # List all Mux assets.
625
+ # List all Mux assets.
622
626
  # @param [Hash] opts the optional parameters
623
627
  # @option opts [Integer] :limit Number of items to include in the response
624
628
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60;
629
+ # @option opts [String] :live_stream_id Filter response to return all the assets for this live stream only
630
+ # @option opts [String] :upload_id Filter response to return an asset created from this direct upload only
625
631
  # @return [Array<(ListAssetsResponse, Integer, Hash)>] ListAssetsResponse data, response status code and response headers
626
632
  def list_assets_with_http_info(opts = {})
627
633
  if @api_client.config.debugging
@@ -634,6 +640,8 @@ module MuxRuby
634
640
  query_params = opts[:query_params] || {}
635
641
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
636
642
  query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
643
+ query_params[:'live_stream_id'] = opts[:'live_stream_id'] if !opts[:'live_stream_id'].nil?
644
+ query_params[:'upload_id'] = opts[:'upload_id'] if !opts[:'upload_id'].nil?
637
645
 
638
646
  # header parameters
639
647
  header_params = opts[:header_params] || {}
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,12 +20,12 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # List Usage
23
- # Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs.
23
+ # Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60; (default to 1)
26
26
  # @option opts [Integer] :limit Number of items to include in the response (default to 100)
27
27
  # @option opts [String] :asset_id Filter response to return delivery usage for this asset only.
28
- # @option opts [Array<String>] :timeframe Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made.
28
+ # @option opts [Array<String>] :timeframe Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made.
29
29
  # @return [ListDeliveryUsageResponse]
30
30
  def list_delivery_usage(opts = {})
31
31
  data, _status_code, _headers = list_delivery_usage_with_http_info(opts)
@@ -33,12 +33,12 @@ module MuxRuby
33
33
  end
34
34
 
35
35
  # List Usage
36
- # Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs.
36
+ # Returns a list of delivery usage records and their associated Asset IDs or Live Stream IDs.
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @option opts [Integer] :page Offset by this many pages, of the size of &#x60;limit&#x60;
39
39
  # @option opts [Integer] :limit Number of items to include in the response
40
40
  # @option opts [String] :asset_id Filter response to return delivery usage for this asset only.
41
- # @option opts [Array<String>] :timeframe Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made.
41
+ # @option opts [Array<String>] :timeframe Time window to get delivery usage information. timeframe[0] indicates the start time, timeframe[1] indicates the end time in seconds since the Unix epoch. Default time window is 1 hour representing usage from 13th to 12th hour from when the request is made.
42
42
  # @return [Array<(ListDeliveryUsageResponse, Integer, Hash)>] ListDeliveryUsageResponse data, response status code and response headers
43
43
  def list_delivery_usage_with_http_info(opts = {})
44
44
  if @api_client.config.debugging
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # List Errors
23
- # Returns a list of errors
23
+ # Returns a list of errors.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
26
26
  # @option opts [Array<String>] :timeframe Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]&#x3D;). Accepted formats are... * array of epoch timestamps e.g. timeframe[]&#x3D;1498867200&amp;timeframe[]&#x3D;1498953600 * duration string e.g. timeframe[]&#x3D;24:hours or timeframe[]&#x3D;7:days.
@@ -31,7 +31,7 @@ module MuxRuby
31
31
  end
32
32
 
33
33
  # List Errors
34
- # Returns a list of errors
34
+ # Returns a list of errors.
35
35
  # @param [Hash] opts the optional parameters
36
36
  # @option opts [Array<String>] :filters Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]&#x3D;operating_system:windows&amp;filters[]&#x3D;country:US). Possible filter names are the same as returned by the List Filters endpoint.
37
37
  # @option opts [Array<String>] :timeframe Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]&#x3D;). Accepted formats are... * array of epoch timestamps e.g. timeframe[]&#x3D;1498867200&amp;timeframe[]&#x3D;1498953600 * duration string e.g. timeframe[]&#x3D;24:hours or timeframe[]&#x3D;7:days.
@@ -1,10 +1,10 @@
1
1
  =begin
2
2
  #Mux API
3
3
 
4
- #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.
4
+ #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.
5
5
 
6
6
  The version of the OpenAPI document: v1
7
-
7
+ Contact: devex@mux.com
8
8
  Generated by: https://openapi-generator.tech
9
9
  OpenAPI Generator version: 5.0.1
10
10
 
@@ -20,7 +20,7 @@ module MuxRuby
20
20
  @api_client = api_client
21
21
  end
22
22
  # List property video view export links
23
- # Lists the available video view exports along with URLs to retrieve them
23
+ # Deprecated: The API has been replaced by the list-exports-views API call. Lists the available video view exports along with URLs to retrieve them.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [ListExportsResponse]
26
26
  def list_exports(opts = {})
@@ -29,7 +29,7 @@ module MuxRuby
29
29
  end
30
30
 
31
31
  # List property video view export links
32
- # Lists the available video view exports along with URLs to retrieve them
32
+ # Deprecated: The API has been replaced by the list-exports-views API call. Lists the available video view exports along with URLs to retrieve them.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(ListExportsResponse, Integer, Hash)>] ListExportsResponse data, response status code and response headers
35
35
  def list_exports_with_http_info(opts = {})
@@ -75,5 +75,62 @@ module MuxRuby
75
75
  end
76
76
  return data, status_code, headers
77
77
  end
78
+
79
+ # List available property view exports
80
+ # Lists the available video view exports along with URLs to retrieve them.
81
+ # @param [Hash] opts the optional parameters
82
+ # @return [ListVideoViewExportsResponse]
83
+ def list_exports_views(opts = {})
84
+ data, _status_code, _headers = list_exports_views_with_http_info(opts)
85
+ data
86
+ end
87
+
88
+ # List available property view exports
89
+ # Lists the available video view exports along with URLs to retrieve them.
90
+ # @param [Hash] opts the optional parameters
91
+ # @return [Array<(ListVideoViewExportsResponse, Integer, Hash)>] ListVideoViewExportsResponse data, response status code and response headers
92
+ def list_exports_views_with_http_info(opts = {})
93
+ if @api_client.config.debugging
94
+ @api_client.config.logger.debug 'Calling API: ExportsApi.list_exports_views ...'
95
+ end
96
+ # resource path
97
+ local_var_path = '/data/v1/exports/views'
98
+
99
+ # query parameters
100
+ query_params = opts[:query_params] || {}
101
+
102
+ # header parameters
103
+ header_params = opts[:header_params] || {}
104
+ # HTTP header 'Accept' (if needed)
105
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
106
+
107
+ # form parameters
108
+ form_params = opts[:form_params] || {}
109
+
110
+ # http body (model)
111
+ post_body = opts[:debug_body]
112
+
113
+ # return_type
114
+ return_type = opts[:debug_return_type] || 'ListVideoViewExportsResponse'
115
+
116
+ # auth_names
117
+ auth_names = opts[:debug_auth_names] || ['accessToken']
118
+
119
+ new_options = opts.merge(
120
+ :operation => :"ExportsApi.list_exports_views",
121
+ :header_params => header_params,
122
+ :query_params => query_params,
123
+ :form_params => form_params,
124
+ :body => post_body,
125
+ :auth_names => auth_names,
126
+ :return_type => return_type
127
+ )
128
+
129
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
130
+ if @api_client.config.debugging
131
+ @api_client.config.logger.debug "API called: ExportsApi#list_exports_views\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
132
+ end
133
+ return data, status_code, headers
134
+ end
78
135
  end
79
136
  end