Skip to content

Commit

Permalink
[patch] version bump + fixed get-realtime-breakdown
Browse files Browse the repository at this point in the history
  • Loading branch information
eropple committed Jun 8, 2022
1 parent fe018b1 commit cef3062
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions docs/MetricsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Method | HTTP request | Description
Get metric timeseries data

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
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

### Example

Expand Down Expand Up @@ -53,7 +53,7 @@ timeframe = ['timeframe_example'] # list[str] | Timeframe window to limit result
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)
measurement = 'measurement_example' # str | Measurement for the provided metric. If omitted, the default for the metric will be used. (optional)
order_direction = 'order_direction_example' # str | Sort order. (optional)
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)
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)

try:
# Get metric timeseries data
Expand All @@ -72,7 +72,7 @@ Name | Type | Description | Notes
**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]
**measurement** | **str**| Measurement for the provided metric. If omitted, the default for the metric will be used. | [optional]
**order_direction** | **str**| Sort order. | [optional]
**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]
**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]

### Return type

Expand Down
4 changes: 2 additions & 2 deletions docs/RealTimeApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ with mux_python.ApiClient(configuration) as api_client:
api_instance = mux_python.RealTimeApi(api_client)
realtime_metric_id = 'current-concurrent-viewers' # str | ID of the Realtime Metric
dimension = 'dimension_example' # str | Dimension the specified value belongs to (optional)
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)
timestamp = 56 # int | Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. (optional)
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)
order_by = 'order_by_example' # str | Value to order the results by (optional)
order_direction = 'order_direction_example' # str | Sort order. (optional)
Expand All @@ -69,7 +69,7 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**realtime_metric_id** | **str**| ID of the Realtime Metric |
**dimension** | **str**| Dimension the specified value belongs to | [optional]
**timestamp** | **float**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. | [optional]
**timestamp** | **int**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. | [optional]
**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]
**order_by** | **str**| Value to order the results by | [optional]
**order_direction** | **str**| Sort order. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/SpacesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ Name | Type | Description | Notes
Start a space broadcast

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

### Example

Expand Down
2 changes: 1 addition & 1 deletion gen/generator-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"!!source": "https://github.com/OpenAPITools/openapi-generator/blob/master/docs/generators/python.md",
"packageName": "mux_python",
"projectName": "mux_python",
"packageVersion": "3.5.0"
"packageVersion": "3.5.1"
}
2 changes: 1 addition & 1 deletion mux_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

from __future__ import absolute_import

__version__ = "3.5.0"
__version__ = "3.5.1"

# import apis into sdk package
from mux_python.api.assets_api import AssetsApi
Expand Down
8 changes: 4 additions & 4 deletions mux_python/api/metrics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, api_client=None):
def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
"""Get metric timeseries data # noqa: E501
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
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
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand All @@ -57,7 +57,7 @@ def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
:type measurement: str
:param order_direction: Sort order.
:type order_direction: str
: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.
: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.
:type group_by: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
Expand All @@ -80,7 +80,7 @@ def get_metric_timeseries_data(self, metric_id, **kwargs): # noqa: E501
def get_metric_timeseries_data_with_http_info(self, metric_id, **kwargs): # noqa: E501
"""Get metric timeseries data # noqa: E501
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
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
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand All @@ -97,7 +97,7 @@ def get_metric_timeseries_data_with_http_info(self, metric_id, **kwargs): # noq
:type measurement: str
:param order_direction: Sort order.
:type order_direction: str
: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.
: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.
:type group_by: str
:param async_req: Whether to execute the request asynchronously.
:type async_req: bool, optional
Expand Down
4 changes: 2 additions & 2 deletions mux_python/api/real_time_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def get_realtime_breakdown(self, realtime_metric_id, **kwargs): # noqa: E501
:param dimension: Dimension the specified value belongs to
:type dimension: str
:param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
:type timestamp: float
:type timestamp: int
: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`
:type filters: list[str]
:param order_by: Value to order the results by
Expand Down Expand Up @@ -92,7 +92,7 @@ def get_realtime_breakdown_with_http_info(self, realtime_metric_id, **kwargs):
:param dimension: Dimension the specified value belongs to
:type dimension: str
:param timestamp: Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp.
:type timestamp: float
:type timestamp: int
: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`
:type filters: list[str]
:param order_by: Value to order the results by
Expand Down
4 changes: 2 additions & 2 deletions mux_python/api/spaces_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,7 @@ def list_spaces_with_http_info(self, **kwargs): # noqa: E501
def start_space_broadcast(self, space_id, broadcast_id, **kwargs): # noqa: E501
"""Start a space broadcast # noqa: E501
Starts broadcasting a space to the associated destination. # noqa: E501
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
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand Down Expand Up @@ -1049,7 +1049,7 @@ def start_space_broadcast(self, space_id, broadcast_id, **kwargs): # noqa: E501
def start_space_broadcast_with_http_info(self, space_id, broadcast_id, **kwargs): # noqa: E501
"""Start a space broadcast # noqa: E501
Starts broadcasting a space to the associated destination. # noqa: E501
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
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async_req=True
Expand Down
2 changes: 1 addition & 1 deletion mux_python/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None,
self.default_headers[header_name] = header_value
self.cookie = cookie
# Set default User-Agent.
self.user_agent = 'OpenAPI-Generator/3.5.0/python'
self.user_agent = 'OpenAPI-Generator/3.5.1/python'
self.client_side_validation = configuration.client_side_validation

def __enter__(self):
Expand Down
2 changes: 1 addition & 1 deletion mux_python/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def to_debug_report(self):
"OS: {env}\n"\
"Python Version: {pyversion}\n"\
"Version of the API: v1\n"\
"SDK Package Version: 3.5.0".\
"SDK Package Version: 3.5.1".\
format(env=sys.platform, pyversion=sys.version)

def get_host_settings(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from setuptools import setup, find_packages # noqa: H301

NAME = "mux_python"
VERSION = "3.5.0"
VERSION = "3.5.1"
# To install the library, run the following
#
# python setup.py install
Expand Down

0 comments on commit cef3062

Please sign in to comment.