Skip to content

Commit 0a5794b

Browse files
committed
[patch] version bump + fixed get-realtime-breakdown
1 parent aefa5a9 commit 0a5794b

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

api_real_time.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ type RealTimeApiService service
1414

1515
type GetRealtimeBreakdownParams struct {
1616
Dimension string
17-
Timestamp float64
17+
Timestamp int32
1818
Filters []string
1919
OrderBy string
2020
OrderDirection string

configuration.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration)
2222
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
2323
cfg := &Configuration{
2424
basePath: "https://api.mux.com",
25-
userAgent: "Mux Go | 4.2.1",
25+
userAgent: "Mux Go | 4.2.2",
2626
}
2727
for _, opt := range opts {
2828
opt(cfg)

docs/MetricsApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Method | HTTP request | Description
1515
> GetMetricTimeseriesDataResponse GetMetricTimeseriesData(ctx, mETRICID, optional)
1616
Get metric timeseries data
1717

18-
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
18+
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
1919

2020
### Required Parameters
2121

@@ -35,7 +35,7 @@ Name | Type | Description | Notes
3535
**filters** | [**optional.Interface of []string**](string.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` |
3636
**measurement** | **optional.String**| Measurement for the provided metric. If omitted, the default for the metric will be used. |
3737
**orderDirection** | **optional.String**| Sort order. |
38-
**groupBy** | **optional.String**| 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. |
38+
**groupBy** | **optional.String**| 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. |
3939

4040
### Return type
4141

docs/RealTimeApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Name | Type | Description | Notes
3232
------------- | ------------- | ------------- | -------------
3333

3434
**dimension** | **optional.String**| Dimension the specified value belongs to |
35-
**timestamp** | **optional.Float64**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. |
35+
**timestamp** | **optional.Int32**| Timestamp to limit results by. This value must be provided as a unix timestamp. Defaults to the current unix timestamp. |
3636
**filters** | [**optional.Interface of []string**](string.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` |
3737
**orderBy** | **optional.String**| Value to order the results by |
3838
**orderDirection** | **optional.String**| Sort order. |

docs/SpacesApi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ Name | Type | Description | Notes
226226
> StartSpaceBroadcastResponse StartSpaceBroadcast(ctx, sPACEID, bROADCASTID)
227227
Start a space broadcast
228228

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

231231
### Required Parameters
232232

0 commit comments

Comments
 (0)