mux_ruby 1.4.0 → 1.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. checksums.yaml +5 -5
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +37 -35
  4. data/README.md +6 -1
  5. data/docs/Asset.md +3 -1
  6. data/docs/AssetNonStandardInputReasons.md +16 -0
  7. data/docs/AssetRecordingTimes.md +9 -0
  8. data/docs/CreateAssetRequest.md +1 -1
  9. data/docs/CreateLiveStreamRequest.md +2 -0
  10. data/docs/CreateUploadRequest.md +1 -0
  11. data/docs/DimensionValue.md +9 -0
  12. data/docs/DimensionsApi.md +118 -0
  13. data/docs/DisableLiveStreamResponse.md +8 -0
  14. data/docs/EnableLiveStreamResponse.md +8 -0
  15. data/docs/FiltersApi.md +2 -2
  16. data/docs/GetRealTimeBreakdownResponse.md +10 -0
  17. data/docs/GetRealTimeHistogramTimeseriesResponse.md +11 -0
  18. data/docs/GetRealTimeHistogramTimeseriesResponseMeta.md +8 -0
  19. data/docs/GetRealTimeTimeseriesResponse.md +10 -0
  20. data/docs/Incident.md +28 -0
  21. data/docs/IncidentBreakdown.md +10 -0
  22. data/docs/IncidentNotification.md +10 -0
  23. data/docs/IncidentNotificationRule.md +12 -0
  24. data/docs/IncidentResponse.md +9 -0
  25. data/docs/IncidentsApi.md +186 -0
  26. data/docs/ListDimensionValuesResponse.md +10 -0
  27. data/docs/ListDimensionsResponse.md +10 -0
  28. data/docs/ListIncidentsResponse.md +10 -0
  29. data/docs/ListRealTimeDimensionsResponse.md +10 -0
  30. data/docs/ListRealTimeDimensionsResponseData.md +9 -0
  31. data/docs/ListRealTimeMetricsResponse.md +10 -0
  32. data/docs/ListRelatedIncidentsResponse.md +10 -0
  33. data/docs/LiveStream.md +2 -1
  34. data/docs/LiveStreamsApi.md +104 -0
  35. data/docs/NotificationRule.md +10 -0
  36. data/docs/RealTimeApi.md +280 -0
  37. data/docs/RealTimeBreakdownValue.md +12 -0
  38. data/docs/RealTimeHistogramTimeseriesBucket.md +9 -0
  39. data/docs/RealTimeHistogramTimeseriesBucketValues.md +9 -0
  40. data/docs/RealTimeHistogramTimeseriesDatapoint.md +14 -0
  41. data/docs/RealTimeTimeseriesDatapoint.md +10 -0
  42. data/docs/Upload.md +1 -0
  43. data/docs/VideoView.md +16 -14
  44. data/examples/data/exercise-dimensions.rb +29 -0
  45. data/examples/data/exercise-errors.rb +1 -1
  46. data/examples/data/exercise-incidents.rb +29 -0
  47. data/examples/data/exercise-realtime.rb +60 -0
  48. data/examples/video/exercise-live-streams.rb +22 -0
  49. data/lib/mux_ruby.rb +30 -0
  50. data/lib/mux_ruby/api/dimensions_api.rb +128 -0
  51. data/lib/mux_ruby/api/filters_api.rb +4 -4
  52. data/lib/mux_ruby/api/incidents_api.rb +217 -0
  53. data/lib/mux_ruby/api/live_streams_api.rb +106 -0
  54. data/lib/mux_ruby/api/real_time_api.rb +311 -0
  55. data/lib/mux_ruby/api_client.rb +1 -1
  56. data/lib/mux_ruby/configuration.rb +1 -4
  57. data/lib/mux_ruby/models/asset.rb +46 -13
  58. data/lib/mux_ruby/models/asset_non_standard_input_reasons.rb +335 -0
  59. data/lib/mux_ruby/models/asset_recording_times.rb +195 -0
  60. data/lib/mux_ruby/models/asset_static_renditions_files.rb +4 -4
  61. data/lib/mux_ruby/models/create_asset_request.rb +13 -13
  62. data/lib/mux_ruby/models/create_live_stream_request.rb +24 -4
  63. data/lib/mux_ruby/models/create_upload_request.rb +13 -4
  64. data/lib/mux_ruby/models/dimension_value.rb +193 -0
  65. data/lib/mux_ruby/models/disable_live_stream_response.rb +184 -0
  66. data/lib/mux_ruby/models/enable_live_stream_response.rb +184 -0
  67. data/lib/mux_ruby/models/get_real_time_breakdown_response.rb +206 -0
  68. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response.rb +215 -0
  69. data/lib/mux_ruby/models/get_real_time_histogram_timeseries_response_meta.rb +186 -0
  70. data/lib/mux_ruby/models/get_real_time_timeseries_response.rb +206 -0
  71. data/lib/mux_ruby/models/incident.rb +370 -0
  72. data/lib/mux_ruby/models/incident_breakdown.rb +202 -0
  73. data/lib/mux_ruby/models/incident_notification.rb +202 -0
  74. data/lib/mux_ruby/models/incident_notification_rule.rb +222 -0
  75. data/lib/mux_ruby/models/incident_response.rb +195 -0
  76. data/lib/mux_ruby/models/input_settings_overlay_settings.rb +46 -0
  77. data/lib/mux_ruby/models/list_dimension_values_response.rb +206 -0
  78. data/lib/mux_ruby/models/list_dimensions_response.rb +204 -0
  79. data/lib/mux_ruby/models/list_incidents_response.rb +206 -0
  80. data/lib/mux_ruby/models/list_real_time_dimensions_response.rb +206 -0
  81. data/lib/mux_ruby/models/list_real_time_dimensions_response_data.rb +193 -0
  82. data/lib/mux_ruby/models/list_real_time_metrics_response.rb +206 -0
  83. data/lib/mux_ruby/models/list_related_incidents_response.rb +206 -0
  84. data/lib/mux_ruby/models/live_stream.rb +14 -5
  85. data/lib/mux_ruby/models/notification_rule.rb +202 -0
  86. data/lib/mux_ruby/models/real_time_breakdown_value.rb +220 -0
  87. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket.rb +193 -0
  88. data/lib/mux_ruby/models/real_time_histogram_timeseries_bucket_values.rb +193 -0
  89. data/lib/mux_ruby/models/real_time_histogram_timeseries_datapoint.rb +240 -0
  90. data/lib/mux_ruby/models/real_time_timeseries_datapoint.rb +202 -0
  91. data/lib/mux_ruby/models/upload.rb +13 -4
  92. data/lib/mux_ruby/models/video_view.rb +36 -18
  93. data/lib/mux_ruby/version.rb +1 -1
  94. data/spec/api/dimensions_api_spec.rb +55 -0
  95. data/spec/api/filters_api_spec.rb +2 -2
  96. data/spec/api/incidents_api_spec.rb +73 -0
  97. data/spec/api/live_streams_api_spec.rb +24 -0
  98. data/spec/api/real_time_api_spec.rb +93 -0
  99. data/spec/models/asset_non_standard_input_reasons_spec.rb +98 -0
  100. data/spec/models/asset_recording_times_spec.rb +40 -0
  101. data/spec/models/asset_spec.rb +22 -6
  102. data/spec/models/asset_static_renditions_files_spec.rb +2 -2
  103. data/spec/models/create_asset_request_spec.rb +6 -6
  104. data/spec/models/create_live_stream_request_spec.rb +12 -0
  105. data/spec/models/create_upload_request_spec.rb +6 -0
  106. data/spec/models/dimension_value_spec.rb +40 -0
  107. data/spec/models/disable_live_stream_response_spec.rb +34 -0
  108. data/spec/models/enable_live_stream_response_spec.rb +34 -0
  109. data/spec/models/get_real_time_breakdown_response_spec.rb +46 -0
  110. data/spec/models/get_real_time_histogram_timeseries_response_meta_spec.rb +34 -0
  111. data/spec/models/get_real_time_histogram_timeseries_response_spec.rb +52 -0
  112. data/spec/models/get_real_time_timeseries_response_spec.rb +46 -0
  113. data/spec/models/incident_breakdown_spec.rb +46 -0
  114. data/spec/models/incident_notification_rule_spec.rb +58 -0
  115. data/spec/models/incident_notification_spec.rb +46 -0
  116. data/spec/models/incident_response_spec.rb +40 -0
  117. data/spec/models/incident_spec.rb +154 -0
  118. data/spec/models/input_settings_overlay_settings_spec.rb +8 -0
  119. data/spec/models/list_dimension_values_response_spec.rb +46 -0
  120. data/spec/models/list_dimensions_response_spec.rb +46 -0
  121. data/spec/models/list_incidents_response_spec.rb +46 -0
  122. data/spec/models/list_real_time_dimensions_response_data_spec.rb +40 -0
  123. data/spec/models/list_real_time_dimensions_response_spec.rb +46 -0
  124. data/spec/models/list_real_time_metrics_response_spec.rb +46 -0
  125. data/spec/models/list_related_incidents_response_spec.rb +46 -0
  126. data/spec/models/live_stream_spec.rb +6 -0
  127. data/spec/models/notification_rule_spec.rb +46 -0
  128. data/spec/models/real_time_breakdown_value_spec.rb +58 -0
  129. data/spec/models/real_time_histogram_timeseries_bucket_spec.rb +40 -0
  130. data/spec/models/real_time_histogram_timeseries_bucket_values_spec.rb +40 -0
  131. data/spec/models/real_time_histogram_timeseries_datapoint_spec.rb +70 -0
  132. data/spec/models/real_time_timeseries_datapoint_spec.rb +46 -0
  133. data/spec/models/upload_spec.rb +6 -0
  134. data/spec/models/video_view_spec.rb +12 -0
  135. data/test.sh +28 -0
  136. metadata +181 -58
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: a82c3ff3d2f7a0856d87eeb12181161e46fd94b0
4
- data.tar.gz: b0bc8878a363818ebf49889ccf57739a1b7d4bc1
2
+ SHA256:
3
+ metadata.gz: 949908e8ddb5270a36db4c9df9991f878e91b8e95ad6a1260506b956861f7ec6
4
+ data.tar.gz: 368bcacc1322c6308fce401c068e74a5ae0bd3627e1eb2261db5d30bd53e0fa7
5
5
  SHA512:
6
- metadata.gz: 4eb34200000fdb35dc50892d46ead7e99046cdacdd1639a88e209d398abf2b22302345a7fefc3e8524c0e09718ab48fbad3cfd84380e5ed67df1bfde85d1ade4
7
- data.tar.gz: 481d66f9f17b8ba653ed30d2bb2b6ed2c8aa194563820e99c39063554afaa00621d9b0555f2ffe63d214a6dfecf09417831e564264e8995800fc6e82d5d5921a
6
+ metadata.gz: fde803ebf5c4db63c13522a8d4513282d74e1305725f122e87232be2d3126fdd1ff95c931f1e535c8d9d5de227d31924d7163a53cc51791294fb41c9afed78aa
7
+ data.tar.gz: 279bdcfeb349d5f4176e0e4408597644053052ef7a3cd85152a6443e50f9c7e6704e8e2dc5d7341814cd37e96b8f9cd8bf3be6fefca36989462eddaa28152f1b
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 12.3.3'
7
7
  gem 'pry-byebug'
8
+ gem 'solid_assert'
8
9
  end
@@ -1,58 +1,59 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mux_ruby (1.4.0)
4
+ mux_ruby (1.8.1)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ZenTest (4.11.1)
12
- addressable (2.5.2)
13
- public_suffix (>= 2.0.2, < 4.0)
11
+ ZenTest (4.12.0)
12
+ addressable (2.7.0)
13
+ public_suffix (>= 2.0.2, < 5.0)
14
14
  autotest (4.4.6)
15
15
  ZenTest (>= 4.4.1)
16
- autotest-fsevent (0.2.14)
16
+ autotest-fsevent (0.2.17)
17
17
  sys-uname
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
20
- byebug (10.0.2)
20
+ byebug (11.1.1)
21
21
  coderay (1.1.2)
22
22
  crack (0.4.3)
23
23
  safe_yaml (~> 1.0.0)
24
24
  diff-lcs (1.3)
25
- ethon (0.11.0)
25
+ ethon (0.12.0)
26
26
  ffi (>= 1.3.0)
27
- ffi (1.9.25)
28
- hashdiff (0.3.7)
29
- json (2.1.0)
30
- method_source (0.9.0)
31
- pry (0.11.3)
32
- coderay (~> 1.1.0)
33
- method_source (~> 0.9.0)
34
- pry-byebug (3.6.0)
35
- byebug (~> 10.0)
36
- pry (~> 0.10)
37
- public_suffix (3.0.3)
38
- rake (12.0.0)
39
- rspec (3.8.0)
40
- rspec-core (~> 3.8.0)
41
- rspec-expectations (~> 3.8.0)
42
- rspec-mocks (~> 3.8.0)
43
- rspec-core (3.8.0)
44
- rspec-support (~> 3.8.0)
45
- rspec-expectations (3.8.1)
27
+ ffi (1.12.2)
28
+ hashdiff (1.0.1)
29
+ json (2.3.0)
30
+ method_source (1.0.0)
31
+ pry (0.13.1)
32
+ coderay (~> 1.1)
33
+ method_source (~> 1.0)
34
+ pry-byebug (3.9.0)
35
+ byebug (~> 11.0)
36
+ pry (~> 0.13.0)
37
+ public_suffix (4.0.4)
38
+ rake (12.3.3)
39
+ rspec (3.9.0)
40
+ rspec-core (~> 3.9.0)
41
+ rspec-expectations (~> 3.9.0)
42
+ rspec-mocks (~> 3.9.0)
43
+ rspec-core (3.9.1)
44
+ rspec-support (~> 3.9.1)
45
+ rspec-expectations (3.9.1)
46
46
  diff-lcs (>= 1.2.0, < 2.0)
47
- rspec-support (~> 3.8.0)
48
- rspec-mocks (3.8.0)
47
+ rspec-support (~> 3.9.0)
48
+ rspec-mocks (3.9.1)
49
49
  diff-lcs (>= 1.2.0, < 2.0)
50
- rspec-support (~> 3.8.0)
51
- rspec-support (3.8.0)
52
- safe_yaml (1.0.4)
53
- sys-uname (1.0.3)
50
+ rspec-support (~> 3.9.0)
51
+ rspec-support (3.9.2)
52
+ safe_yaml (1.0.5)
53
+ solid_assert (1.0.0)
54
+ sys-uname (1.2.1)
54
55
  ffi (>= 1.0.0)
55
- typhoeus (1.3.0)
56
+ typhoeus (1.3.1)
56
57
  ethon (>= 0.9.0)
57
58
  vcr (3.0.3)
58
59
  webmock (1.24.6)
@@ -70,10 +71,11 @@ DEPENDENCIES
70
71
  autotest-rails-pure (~> 4.1, >= 4.1.2)
71
72
  mux_ruby!
72
73
  pry-byebug
73
- rake (~> 12.0.0)
74
+ rake (~> 12.3.3)
74
75
  rspec (~> 3.6, >= 3.6.0)
76
+ solid_assert
75
77
  vcr (~> 3.0, >= 3.0.1)
76
78
  webmock (~> 1.24, >= 1.24.3)
77
79
 
78
80
  BUNDLED WITH
79
- 1.16.1
81
+ 1.17.2
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ![Mux Ruby Banner](github-ruby-sdk.png)
2
2
 
3
+ ![](https://github.com/muxinc/mux-ruby/workflows/Integration%20Test/badge.svg)
4
+
3
5
  # Mux Ruby
4
6
 
5
7
  Official Mux API wrapper for ruby projects, supporting both Mux Data and Mux Video.
@@ -19,8 +21,11 @@ Use `bundle install` to install dependencies if you're developing locally.
19
21
  ## Installation
20
22
 
21
23
  ### Adding to your Gemfile
24
+
25
+ This gem can be sourced from [RubyGems](https://rubygems.org/gems/mux_ruby)
26
+
22
27
  ```
23
- gem 'mux_ruby', :git => 'git://github.com/muxinc/mux-ruby.git'
28
+ gem 'mux_ruby'
24
29
  ```
25
30
 
26
31
  ### Clone and install locally
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
13
13
  **aspect_ratio** | **String** | | [optional]
14
14
  **playback_ids** | [**Array&lt;PlaybackID&gt;**](PlaybackID.md) | | [optional]
15
15
  **tracks** | [**Array&lt;Track&gt;**](Track.md) | | [optional]
16
- **demo** | **BOOLEAN** | | [optional]
17
16
  **errors** | [**AssetErrors**](AssetErrors.md) | | [optional]
18
17
  **per_title_encode** | **BOOLEAN** | | [optional]
19
18
  **is_live** | **BOOLEAN** | | [optional]
@@ -24,5 +23,8 @@ Name | Type | Description | Notes
24
23
  **mp4_support** | **String** | | [optional] [default to &#39;none&#39;]
25
24
  **normalize_audio** | **BOOLEAN** | | [optional] [default to false]
26
25
  **static_renditions** | [**AssetStaticRenditions**](AssetStaticRenditions.md) | | [optional]
26
+ **recording_times** | [**Array&lt;AssetRecordingTimes&gt;**](AssetRecordingTimes.md) | An array of individual live stream recording sessions. A recording session is created on each encoder connection during the live stream | [optional]
27
+ **non_standard_input_reasons** | [**AssetNonStandardInputReasons**](AssetNonStandardInputReasons.md) | | [optional]
28
+ **test** | **BOOLEAN** | | [optional]
27
29
 
28
30
 
@@ -0,0 +1,16 @@
1
+ # MuxRuby::AssetNonStandardInputReasons
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **video_codec** | **String** | The video codec used on the input file | [optional]
7
+ **audio_codec** | **String** | The audio codec used on the input file | [optional]
8
+ **video_gop_size** | **String** | The video key frame Interval (also called as Group of Picture or GOP) of the input file | [optional]
9
+ **video_frame_rate** | **String** | The video frame rate of the input file | [optional]
10
+ **video_resolution** | **String** | The video resolution of the input file | [optional]
11
+ **pixel_aspect_ratio** | **String** | The video pixel aspect ratio of the input file | [optional]
12
+ **video_edit_list** | **String** | Video Edit List reason indicates that the input file&#39;s video track contains a complex Edit Decision List | [optional]
13
+ **audio_edit_list** | **String** | Audio Edit List reason indicates that the input file&#39;s audio track contains a complex Edit Decision List | [optional]
14
+ **unexpected_media_file_parameters** | **String** | A catch-all reason when the input file in created with non-standard encoding parameters | [optional]
15
+
16
+
@@ -0,0 +1,9 @@
1
+ # MuxRuby::AssetRecordingTimes
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **started_at** | **DateTime** | The time at which the recording for the live stream started. The time value is Unix epoch time represented in ISO 8601 format | [optional]
7
+ **duration** | **Float** | The duration of the live stream recorded. The time value is in seconds | [optional]
8
+
9
+
@@ -5,11 +5,11 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **input** | [**Array&lt;InputSettings&gt;**](InputSettings.md) | | [optional]
7
7
  **playback_policy** | [**Array&lt;PlaybackPolicy&gt;**](PlaybackPolicy.md) | | [optional]
8
- **demo** | **BOOLEAN** | | [optional]
9
8
  **per_title_encode** | **BOOLEAN** | | [optional]
10
9
  **passthrough** | **String** | | [optional]
11
10
  **mp4_support** | **String** | | [optional]
12
11
  **normalize_audio** | **BOOLEAN** | Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets. | [optional] [default to false]
13
12
  **master_access** | **String** | | [optional]
13
+ **test** | **BOOLEAN** | | [optional]
14
14
 
15
15
 
@@ -8,5 +8,7 @@ Name | Type | Description | Notes
8
8
  **reconnect_window** | **Float** | When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Defaults to 60 seconds on the API if not specified. | [optional]
9
9
  **passthrough** | **String** | | [optional]
10
10
  **reduced_latency** | **BOOLEAN** | Latency is the time from when the streamer does something in real life to when you see it happen in the player. Set this if you want lower latency for your live stream. Note: Reconnect windows are incompatible with Reduced Latency and will always be set to zero (0) seconds. Read more here: https://mux.com/blog/reduced-latency-for-mux-live-streaming-now-available/ | [optional]
11
+ **test** | **BOOLEAN** | | [optional]
12
+ **simulcast_targets** | [**Array&lt;CreateSimulcastTargetRequest&gt;**](CreateSimulcastTargetRequest.md) | | [optional]
11
13
 
12
14
 
@@ -6,5 +6,6 @@ Name | Type | Description | Notes
6
6
  **timeout** | **Integer** | Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked &#x60;timed_out&#x60; | [optional] [default to 3600]
7
7
  **cors_origin** | **String** | If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers. | [optional]
8
8
  **new_asset_settings** | [**CreateAssetRequest**](CreateAssetRequest.md) | |
9
+ **test** | **BOOLEAN** | | [optional]
9
10
 
10
11
 
@@ -0,0 +1,9 @@
1
+ # MuxRuby::DimensionValue
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **value** | **String** | | [optional]
7
+ **total_count** | **Integer** | | [optional]
8
+
9
+
@@ -0,0 +1,118 @@
1
+ # MuxRuby::DimensionsApi
2
+
3
+ All URIs are relative to *https://api.mux.com*
4
+
5
+ Method | HTTP request | Description
6
+ ------------- | ------------- | -------------
7
+ [**list_dimension_values**](DimensionsApi.md#list_dimension_values) | **GET** /data/v1/dimensions/{DIMENSION_ID} | Lists the values for a specific dimension
8
+ [**list_dimensions**](DimensionsApi.md#list_dimensions) | **GET** /data/v1/dimensions | List Dimensions
9
+
10
+
11
+ # **list_dimension_values**
12
+ > ListDimensionValuesResponse list_dimension_values(dimension_id, opts)
13
+
14
+ Lists the values for a specific dimension
15
+
16
+ Lists the values for a dimension along with a total count of related views. Note: This API replaces the list-filter-values API call.
17
+
18
+ ### Example
19
+ ```ruby
20
+ # load the gem
21
+ require 'mux_ruby'
22
+ # setup authorization
23
+ MuxRuby.configure do |config|
24
+ # Configure HTTP basic authorization: accessToken
25
+ config.username = 'YOUR USERNAME'
26
+ config.password = 'YOUR PASSWORD'
27
+ end
28
+
29
+ api_instance = MuxRuby::DimensionsApi.new
30
+ dimension_id = 'abcd1234' # String | ID of the Dimension
31
+ opts = {
32
+ limit: 25, # Integer | Number of items to include in the response
33
+ page: 1, # Integer | Offset by this many pages, of the size of `limit`
34
+ filters: ['filters_example'], # Array<String> | Filter key:value pairs. Must be provided as an array query string parameter (e.g. filters[]=operating_system:windows&filters[]=country:US). Possible filter names are the same as returned by the List Filters endpoint.
35
+ timeframe: ['timeframe_example'] # Array<String> | Timeframe window to limit results by. Must be provided as an array query string parameter (e.g. timeframe[]=). Accepted formats are... * array of epoch timestamps e.g. timeframe[]=1498867200&timeframe[]=1498953600 * duration string e.g. timeframe[]=24:hours or timeframe[]=7:days.
36
+ }
37
+
38
+ begin
39
+ #Lists the values for a specific dimension
40
+ result = api_instance.list_dimension_values(dimension_id, opts)
41
+ p result
42
+ rescue MuxRuby::ApiError => e
43
+ puts "Exception when calling DimensionsApi->list_dimension_values: #{e}"
44
+ end
45
+ ```
46
+
47
+ ### Parameters
48
+
49
+ Name | Type | Description | Notes
50
+ ------------- | ------------- | ------------- | -------------
51
+ **dimension_id** | **String**| ID of the Dimension |
52
+ **limit** | **Integer**| Number of items to include in the response | [optional] [default to 25]
53
+ **page** | **Integer**| Offset by this many pages, of the size of &#x60;limit&#x60; | [optional] [default to 1]
54
+ **filters** | [**Array&lt;String&gt;**](String.md)| 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. | [optional]
55
+ **timeframe** | [**Array&lt;String&gt;**](String.md)| 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. | [optional]
56
+
57
+ ### Return type
58
+
59
+ [**ListDimensionValuesResponse**](ListDimensionValuesResponse.md)
60
+
61
+ ### Authorization
62
+
63
+ [accessToken](../README.md#accessToken)
64
+
65
+ ### HTTP request headers
66
+
67
+ - **Content-Type**: Not defined
68
+ - **Accept**: application/json
69
+
70
+
71
+
72
+ # **list_dimensions**
73
+ > ListDimensionsResponse list_dimensions
74
+
75
+ List Dimensions
76
+
77
+ List all available dimensions. Note: This API replaces the list-filters API call.
78
+
79
+ ### Example
80
+ ```ruby
81
+ # load the gem
82
+ require 'mux_ruby'
83
+ # setup authorization
84
+ MuxRuby.configure do |config|
85
+ # Configure HTTP basic authorization: accessToken
86
+ config.username = 'YOUR USERNAME'
87
+ config.password = 'YOUR PASSWORD'
88
+ end
89
+
90
+ api_instance = MuxRuby::DimensionsApi.new
91
+
92
+ begin
93
+ #List Dimensions
94
+ result = api_instance.list_dimensions
95
+ p result
96
+ rescue MuxRuby::ApiError => e
97
+ puts "Exception when calling DimensionsApi->list_dimensions: #{e}"
98
+ end
99
+ ```
100
+
101
+ ### Parameters
102
+ This endpoint does not need any parameter.
103
+
104
+ ### Return type
105
+
106
+ [**ListDimensionsResponse**](ListDimensionsResponse.md)
107
+
108
+ ### Authorization
109
+
110
+ [accessToken](../README.md#accessToken)
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: Not defined
115
+ - **Accept**: application/json
116
+
117
+
118
+
@@ -0,0 +1,8 @@
1
+ # MuxRuby::DisableLiveStreamResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**Object**](.md) | | [optional]
7
+
8
+
@@ -0,0 +1,8 @@
1
+ # MuxRuby::EnableLiveStreamResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**Object**](.md) | | [optional]
7
+
8
+
@@ -13,7 +13,7 @@ Method | HTTP request | Description
13
13
 
14
14
  Lists values for a specific filter
15
15
 
16
- Lists the values for a filter along with a total count of related views
16
+ Deprecated: The API has been replaced by the list-dimension-values API call. Lists the values for a filter along with a total count of related views.
17
17
 
18
18
  ### Example
19
19
  ```ruby
@@ -74,7 +74,7 @@ Name | Type | Description | Notes
74
74
 
75
75
  List Filters
76
76
 
77
- Lists all the filters broken out into basic and advanced
77
+ Deprecated: The API has been replaced by the list-dimensions API call. Lists all the filters broken out into basic and advanced.
78
78
 
79
79
  ### Example
80
80
  ```ruby
@@ -0,0 +1,10 @@
1
+ # MuxRuby::GetRealTimeBreakdownResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**Array&lt;RealTimeBreakdownValue&gt;**](RealTimeBreakdownValue.md) | | [optional]
7
+ **total_row_count** | **Integer** | | [optional]
8
+ **timeframe** | **Array&lt;Integer&gt;** | | [optional]
9
+
10
+
@@ -0,0 +1,11 @@
1
+ # MuxRuby::GetRealTimeHistogramTimeseriesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **meta** | [**GetRealTimeHistogramTimeseriesResponseMeta**](GetRealTimeHistogramTimeseriesResponseMeta.md) | | [optional]
7
+ **data** | [**Array&lt;RealTimeHistogramTimeseriesDatapoint&gt;**](RealTimeHistogramTimeseriesDatapoint.md) | | [optional]
8
+ **total_row_count** | **Integer** | | [optional]
9
+ **timeframe** | **Array&lt;Integer&gt;** | | [optional]
10
+
11
+
@@ -0,0 +1,8 @@
1
+ # MuxRuby::GetRealTimeHistogramTimeseriesResponseMeta
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **buckets** | [**Array&lt;RealTimeHistogramTimeseriesBucket&gt;**](RealTimeHistogramTimeseriesBucket.md) | | [optional]
7
+
8
+
@@ -0,0 +1,10 @@
1
+ # MuxRuby::GetRealTimeTimeseriesResponse
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **data** | [**Array&lt;RealTimeTimeseriesDatapoint&gt;**](RealTimeTimeseriesDatapoint.md) | | [optional]
7
+ **total_row_count** | **Integer** | | [optional]
8
+ **timeframe** | **Array&lt;Integer&gt;** | | [optional]
9
+
10
+
@@ -0,0 +1,28 @@
1
+ # MuxRuby::Incident
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **threshold** | **Float** | | [optional]
7
+ **status** | **String** | | [optional]
8
+ **started_at** | **String** | | [optional]
9
+ **severity** | **String** | | [optional]
10
+ **sample_size_unit** | **String** | | [optional]
11
+ **sample_size** | **Integer** | | [optional]
12
+ **resolved_at** | **String** | | [optional]
13
+ **notifications** | [**Array&lt;IncidentNotification&gt;**](IncidentNotification.md) | | [optional]
14
+ **notification_rules** | [**Array&lt;IncidentNotificationRule&gt;**](IncidentNotificationRule.md) | | [optional]
15
+ **measurement** | **String** | | [optional]
16
+ **measured_value_on_close** | **Float** | | [optional]
17
+ **measured_value** | **Float** | | [optional]
18
+ **incident_key** | **String** | | [optional]
19
+ **impact** | **String** | | [optional]
20
+ **id** | **String** | | [optional]
21
+ **error_description** | **String** | | [optional]
22
+ **description** | **String** | | [optional]
23
+ **breakdowns** | [**Array&lt;IncidentBreakdown&gt;**](IncidentBreakdown.md) | | [optional]
24
+ **affected_views_per_hour_on_open** | **Integer** | | [optional]
25
+ **affected_views_per_hour** | **Integer** | | [optional]
26
+ **affected_views** | **Integer** | | [optional]
27
+
28
+