You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
20
20
21
21
### Example
22
22
@@ -53,7 +53,7 @@ timeframe = ['timeframe_example'] # list[str] | Timeframe window to limit result
53
53
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)
54
54
measurement ='measurement_example'# str | Measurement for the provided metric. If omitted, the default for the metric will be used. (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)
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)
57
57
58
58
try:
59
59
# Get metric timeseries data
@@ -72,7 +72,7 @@ Name | Type | Description | Notes
72
72
**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]
73
73
**measurement** | **str**| Measurement for the provided metric. If omitted, the default for the metric will be used. | [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]
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]
Copy file name to clipboardExpand all lines: docs/RealTimeApi.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ with mux_python.ApiClient(configuration) as api_client:
50
50
api_instance = mux_python.RealTimeApi(api_client)
51
51
realtime_metric_id ='current-concurrent-viewers'# str | ID of the Realtime Metric
52
52
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)
54
54
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)
55
55
order_by ='order_by_example'# str | Value to order the results by (optional)
**realtime_metric_id** | **str**| ID of the Realtime Metric |
71
71
**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]
73
73
**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]
74
74
**order_by** | **str**| Value to order the results by | [optional]
Copy file name to clipboardExpand all lines: docs/SpacesApi.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -537,7 +537,7 @@ Name | Type | Description | Notes
537
537
538
538
Start a space broadcast
539
539
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).
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
44
44
This method makes a synchronous HTTP request by default. To make an
: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.
61
61
:type group_by: str
62
62
:param async_req: Whether to execute the request asynchronously.
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
84
84
This method makes a synchronous HTTP request by default. To make an
: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.
101
101
:type group_by: str
102
102
:param async_req: Whether to execute the request asynchronously.
:param dimension: Dimension the specified value belongs to
53
53
:type dimension: str
54
54
: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
56
56
: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`
:param dimension: Dimension the specified value belongs to
93
93
:type dimension: str
94
94
: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
96
96
: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`
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
1021
1021
This method makes a synchronous HTTP request by default. To make an
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
1053
1053
This method makes a synchronous HTTP request by default. To make an
0 commit comments