Skip to content

Commit cef3062

Browse files
committed
[patch] version bump + fixed get-realtime-breakdown
1 parent fe018b1 commit cef3062

11 files changed

+19
-19
lines changed

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. 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
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 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior 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 behavior 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 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior 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 behavior is subject to change; it is strongly suggested that you explicitly specify the granularity. | [optional]
7676

7777
### Return type
7878

docs/RealTimeApi.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ with mux_python.ApiClient(configuration) as api_client:
5050
api_instance = mux_python.RealTimeApi(api_client)
5151
realtime_metric_id = 'current-concurrent-viewers' # str | ID of the Realtime Metric
5252
dimension = 'dimension_example' # str | Dimension the specified value belongs to (optional)
53-
timestamp = 3.4 # float | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. (optional)
53+
timestamp = 56 # int | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. (optional)
5454
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)
5555
order_by = 'order_by_example' # str | Value to order the results by (optional)
5656
order_direction = 'order_direction_example' # str | Sort order. (optional)
@@ -69,7 +69,7 @@ Name | Type | Description | Notes
6969
------------- | ------------- | ------------- | -------------
7070
**realtime_metric_id** | **str**| ID of the Realtime Metric |
7171
**dimension** | **str**| Dimension the specified value belongs to | [optional]
72-
**timestamp** | **float**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. | [optional]
72+
**timestamp** | **int**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. | [optional]
7373
**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]
7474
**order_by** | **str**| Value to order the results by | [optional]
7575
**order_direction** | **str**| Sort order. | [optional]

docs/SpacesApi.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ Name | Type | Description | Notes
537537
538538
Start a space broadcast
539539

540-
Starts broadcasting a space to the associated destination.
540+
Starts broadcasting a space to the associated destination. Broadcasts can only be started when the space is `active` (when there are participants connected).
541541

542542
### Example
543543

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.5.0"
5+
"packageVersion": "3.5.1"
66
}

mux_python/__init__.py

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

1616
from __future__ import absolute_import
1717

18-
__version__ = "3.5.0"
18+
__version__ = "3.5.1"
1919

2020
# import apis into sdk package
2121
from mux_python.api.assets_api import AssetsApi

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. 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
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 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior 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 behavior 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. 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
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 days inclusive, the default granularity is `hour`. The granularity of timeframes that exceed 15 days is `day`. This default behavior 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 behavior 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

mux_python/api/real_time_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def get_realtime_breakdown(self, realtime_metric_id, **kwargs): # noqa: E501
5252
:param dimension: Dimension the specified value belongs to
5353
:type dimension: str
5454
:param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
55-
:type timestamp: float
55+
:type timestamp: int
5656
: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`
5757
:type filters: list[str]
5858
:param order_by: Value to order the results by
@@ -92,7 +92,7 @@ def get_realtime_breakdown_with_http_info(self, realtime_metric_id, **kwargs):
9292
:param dimension: Dimension the specified value belongs to
9393
:type dimension: str
9494
:param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
95-
:type timestamp: float
95+
:type timestamp: int
9696
: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`
9797
:type filters: list[str]
9898
:param order_by: Value to order the results by

mux_python/api/spaces_api.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ def list_spaces_with_http_info(self, **kwargs): # noqa: E501
10171017
def start_space_broadcast(self, space_id, broadcast_id, **kwargs): # noqa: E501
10181018
"""Start a space broadcast # noqa: E501
10191019
1020-
Starts broadcasting a space to the associated destination. # noqa: E501
1020+
Starts broadcasting a space to the associated destination. Broadcasts can only be started when the space is `active` (when there are participants connected). # noqa: E501
10211021
This method makes a synchronous HTTP request by default. To make an
10221022
asynchronous HTTP request, please pass async_req=True
10231023
@@ -1049,7 +1049,7 @@ def start_space_broadcast(self, space_id, broadcast_id, **kwargs): # noqa: E501
10491049
def start_space_broadcast_with_http_info(self, space_id, broadcast_id, **kwargs): # noqa: E501
10501050
"""Start a space broadcast # noqa: E501
10511051
1052-
Starts broadcasting a space to the associated destination. # noqa: E501
1052+
Starts broadcasting a space to the associated destination. Broadcasts can only be started when the space is `active` (when there are participants connected). # noqa: E501
10531053
This method makes a synchronous HTTP request by default. To make an
10541054
asynchronous HTTP request, please pass async_req=True
10551055

mux_python/api_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
7979
self.default_headers[header_name] = header_value
8080
self.cookie = cookie
8181
# Set default User-Agent.
82-
self.user_agent = 'OpenAPI-Generator/3.5.0/python'
82+
self.user_agent = 'OpenAPI-Generator/3.5.1/python'
8383
self.client_side_validation = configuration.client_side_validation
8484

8585
def __enter__(self):

mux_python/configuration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def to_debug_report(self):
406406
"OS: {env}\n"\
407407
"Python Version: {pyversion}\n"\
408408
"Version of the API: v1\n"\
409-
"SDK Package Version: 3.5.0".\
409+
"SDK Package Version: 3.5.1".\
410410
format(env=sys.platform, pyversion=sys.version)
411411

412412
def get_host_settings(self):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from setuptools import setup, find_packages # noqa: H301
1515

1616
NAME = "mux_python"
17-
VERSION = "3.5.0"
17+
VERSION = "3.5.1"
1818
# To install the library, run the following
1919
#
2020
# python setup.py install

0 commit comments

Comments
 (0)