Skip to content

Commit 82003fa

Browse files
committed
[release] 3.3.1
1 parent 06a6f4f commit 82003fa

16 files changed

+270
-37
lines changed

.openapi-generator/FILES

+2-1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ docs/ListFiltersResponseData.md
7373
docs/ListIncidentsResponse.md
7474
docs/ListInsightsResponse.md
7575
docs/ListLiveStreamsResponse.md
76+
docs/ListPlaybackRestrictionsResponse.md
7677
docs/ListRealTimeDimensionsResponse.md
7778
docs/ListRealTimeDimensionsResponseData.md
7879
docs/ListRealTimeMetricsResponse.md
@@ -209,6 +210,7 @@ mux_python/models/list_filters_response_data.py
209210
mux_python/models/list_incidents_response.py
210211
mux_python/models/list_insights_response.py
211212
mux_python/models/list_live_streams_response.py
213+
mux_python/models/list_playback_restrictions_response.py
212214
mux_python/models/list_real_time_dimensions_response.py
213215
mux_python/models/list_real_time_dimensions_response_data.py
214216
mux_python/models/list_real_time_metrics_response.py
@@ -259,5 +261,4 @@ setup.cfg
259261
setup.py
260262
test-requirements.txt
261263
test/__init__.py
262-
test/test_live_stream_status.py
263264
tox.ini
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# ListPlaybackRestrictionsResponse
2+
3+
## Properties
4+
Name | Type | Description | Notes
5+
------------ | ------------- | ------------- | -------------
6+
**data** | [**list[PlaybackRestriction]**](PlaybackRestriction.md) | | [optional]
7+
8+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
9+
10+

docs/MetricsApi.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Method | HTTP request | Description
1616
1717
Get metric timeseries data
1818

19-
Returns timeseries data for a specific metric.
19+
Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value
2020

2121
### Example
2222

@@ -53,7 +53,7 @@ timeframe = ['timeframe_example'] # list[str] | Timeframe window to limit result
5353
filters = ['filters_example'] # list[str] | 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` (optional)
5454
measurement = 'measurement_example' # str | Measurement for the provided metric. If omitted, the default for the metric will be used. (optional)
5555
order_direction = 'order_direction_example' # str | Sort order. (optional)
56-
group_by = 'group_by_example' # str | Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. (optional)
56+
group_by = 'group_by_example' # str | Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. (optional)
5757

5858
try:
5959
# Get metric timeseries data
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
7272
**filters** | [**list[str]**](str.md)| 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` | [optional]
7373
**measurement** | **str**| Measurement for the provided metric. If omitted, the default for the metric will be used. | [optional]
7474
**order_direction** | **str**| Sort order. | [optional]
75-
**group_by** | **str**| Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. | [optional]
75+
**group_by** | **str**| Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity. | [optional]
7676

7777
### Return type
7878

docs/PlaybackRestrictionResponse.md

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6+
**data** | [**PlaybackRestriction**](.md) | | [optional]
67

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

docs/PlaybackRestrictionsApi.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Method | HTTP request | Description
1212

1313

1414
# **create_playback_restriction**
15-
> PlaybackRestriction create_playback_restriction(create_playback_restriction_request)
15+
> PlaybackRestrictionResponse create_playback_restriction(create_playback_restriction_request)
1616
1717
Create a Playback Restriction
1818

@@ -66,7 +66,7 @@ Name | Type | Description | Notes
6666

6767
### Return type
6868

69-
[**PlaybackRestriction**](PlaybackRestriction.md)
69+
[**PlaybackRestrictionResponse**](PlaybackRestrictionResponse.md)
7070

7171
### Authorization
7272

@@ -157,7 +157,7 @@ void (empty response body)
157157
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
158158

159159
# **get_playback_restriction**
160-
> PlaybackRestriction get_playback_restriction(playback_restriction_id)
160+
> PlaybackRestrictionResponse get_playback_restriction(playback_restriction_id)
161161
162162
Retrieve a Playback Restriction
163163

@@ -211,7 +211,7 @@ Name | Type | Description | Notes
211211

212212
### Return type
213213

214-
[**PlaybackRestriction**](PlaybackRestriction.md)
214+
[**PlaybackRestrictionResponse**](PlaybackRestrictionResponse.md)
215215

216216
### Authorization
217217

@@ -230,7 +230,7 @@ Name | Type | Description | Notes
230230
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
231231

232232
# **list_playback_restrictions**
233-
> list[PlaybackRestriction] list_playback_restrictions(page=page, limit=limit)
233+
> ListPlaybackRestrictionsResponse list_playback_restrictions(page=page, limit=limit)
234234
235235
List Playback Restrictions
236236

@@ -286,7 +286,7 @@ Name | Type | Description | Notes
286286

287287
### Return type
288288

289-
[**list[PlaybackRestriction]**](PlaybackRestriction.md)
289+
[**ListPlaybackRestrictionsResponse**](ListPlaybackRestrictionsResponse.md)
290290

291291
### Authorization
292292

@@ -305,11 +305,11 @@ Name | Type | Description | Notes
305305
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
306306

307307
# **update_referrer_domain_restriction**
308-
> PlaybackRestriction update_referrer_domain_restriction(playback_restriction_id, body)
308+
> PlaybackRestrictionResponse update_referrer_domain_restriction(playback_restriction_id, body)
309309
310310
Update the Referrer Playback Restriction
311311

312-
Allows you to modify the list of domians or change how Mux validates playback requests without the `Referer` HTTP header. The Referrer restriction fully replaces the old list with this new list of domains.
312+
Allows you to modify the list of domains or change how Mux validates playback requests without the `Referer` HTTP header. The Referrer restriction fully replaces the old list with this new list of domains.
313313

314314
### Example
315315

@@ -361,7 +361,7 @@ Name | Type | Description | Notes
361361

362362
### Return type
363363

364-
[**PlaybackRestriction**](PlaybackRestriction.md)
364+
[**PlaybackRestrictionResponse**](PlaybackRestrictionResponse.md)
365365

366366
### Authorization
367367

gen/generator-config.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python.md",
33
"packageName": "mux_python",
44
"projectName": "mux_python",
5-
"packageVersion": "3.3.0"
5+
"packageVersion": "3.3.1"
66
}

mux_python/__init__.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
from __future__ import absolute_import
1717

18-
__version__ = "3.3.0"
18+
__version__ = "3.3.1"
1919

2020
# import apis into sdk package
2121
from mux_python.api.assets_api import AssetsApi
@@ -108,6 +108,7 @@
108108
from mux_python.models.list_incidents_response import ListIncidentsResponse
109109
from mux_python.models.list_insights_response import ListInsightsResponse
110110
from mux_python.models.list_live_streams_response import ListLiveStreamsResponse
111+
from mux_python.models.list_playback_restrictions_response import ListPlaybackRestrictionsResponse
111112
from mux_python.models.list_real_time_dimensions_response import ListRealTimeDimensionsResponse
112113
from mux_python.models.list_real_time_dimensions_response_data import ListRealTimeDimensionsResponseData
113114
from mux_python.models.list_real_time_metrics_response import ListRealTimeMetricsResponse

mux_python/api/metrics_api.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def __init__(self, api_client=None):
4040
def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
4141
"""Get metric timeseries data # noqa: E501
4242
43-
Returns timeseries data for a specific metric. # noqa: E501
43+
Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value # noqa: E501
4444
This method makes a synchronous HTTP request by default. To make an
4545
asynchronous HTTP request, please pass async_req=True
4646
@@ -57,7 +57,7 @@ def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
5757
:type measurement: str
5858
:param order_direction: Sort order.
5959
:type order_direction: str
60-
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
60+
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
6161
:type group_by: str
6262
:param async_req: Whether to execute the request asynchronously.
6363
:type async_req: bool, optional
@@ -80,7 +80,7 @@ def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
8080
def get_metric_timeseries_data_with_http_info(self, metric_id, **kwargs): # noqa: E501
8181
"""Get metric timeseries data # noqa: E501
8282
83-
Returns timeseries data for a specific metric. # noqa: E501
83+
Returns timeseries data for a specific metric. Each interval represented in the data array contains an array with the following values: * the first element is the interval time * the second element is the calculated metric value * the third element is the number of views in the interval that have a valid metric value # noqa: E501
8484
This method makes a synchronous HTTP request by default. To make an
8585
asynchronous HTTP request, please pass async_req=True
8686
@@ -97,7 +97,7 @@ def get_metric_timeseries_data_with_http_info(self, metric_id, **kwargs): # noq
9797
:type measurement: str
9898
:param order_direction: Sort order.
9999
:type order_direction: str
100-
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
100+
:param group_by: Time granularity to group results by. If this value is omitted, a default granularity is chosen based on the timeframe. For timeframes of 6 hours or less, the default granularity is `ten_minutes`. Between 6 hours and 15 hours inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 hours is `day`. This default behaviour is subject to change; it is strongly suggested that you explicitly specify the granularity.
101101
:type group_by: str
102102
:param async_req: Whether to execute the request asynchronously.
103103
:type async_req: bool, optional

0 commit comments

Comments
 (0)