Skip to content

Commit

Permalink
[DO NOT MERGE] Add Watch Data endpoints to OpenAPI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
szekelyzol authored May 29, 2024
1 parent b2c1c5a commit e749556
Show file tree
Hide file tree
Showing 26 changed files with 4,378 additions and 251 deletions.
33 changes: 31 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- [Documentation](#documentation)
- [API Endpoints](#api-endpoints)
- [Analytics](#analytics)
- [AnalyticsV20Beta](#analyticsv20beta)
- [Captions](#captions)
- [Chapters](#chapters)
- [LiveStreams](#livestreams)
Expand Down Expand Up @@ -141,8 +142,26 @@ analyticsApi := client.Analytics

Method | HTTP request | Description
------------- | ------------- | -------------
[**GetLiveStreamsPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetLiveStreamsPlays) | **Get** /analytics/live-streams/plays | Get play events for live stream
[**GetVideosPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetVideosPlays) | **Get** /analytics/videos/plays | Get play events for video
**(deprecated)** [**GetLiveStreamsPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetLiveStreamsPlays) | **Get** /analytics/live-streams/plays | Get play events for live stream
**(deprecated)** [**GetVideosPlays**](https://github.com/apivideo/api.video-go-client/blob/main/docs/Analytics.md#GetVideosPlays) | **Get** /analytics/videos/plays | Get play events for video


#### AnalyticsV20Beta


##### Retrieve an instance of the AnalyticsV20Beta API:
```golang
client := apivideosdk.ClientBuilder("API_VIDEO_KEY").Build()
analyticsV20BetaApi := client.AnalyticsV20Beta
```

##### Endpoints

Method | HTTP request | Description
------------- | ------------- | -------------
[**GetAggregatedMetrics**](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsV20Beta.md#GetAggregatedMetrics) | **Get** /data/metrics/{metric}/{aggregation} | Retrieve aggregated metrics
[**GetMetricsBreakdown**](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsV20Beta.md#GetMetricsBreakdown) | **Get** /data/buckets/{metric}/{breakdown} | Retrieve metrics in a breakdown of dimensions
[**GetMetricsOverTime**](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsV20Beta.md#GetMetricsOverTime) | **Get** /data/timeseries/{metric} | Retrieve metrics over time


#### Captions
Expand Down Expand Up @@ -315,7 +334,16 @@ Method | HTTP request | Description

- [AccessToken](https://github.com/apivideo/api.video-go-client/blob/main/docs/AccessToken.md)
- [AdditionalBadRequestErrors](https://github.com/apivideo/api.video-go-client/blob/main/docs/AdditionalBadRequestErrors.md)
- [AnalyticsAggregatedMetricsResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponse.md)
- [AnalyticsAggregatedMetricsResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContext.md)
- [AnalyticsAggregatedMetricsResponseContextTimeframe](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md)
- [AnalyticsData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsData.md)
- [AnalyticsMetricsBreakdownResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponse.md)
- [AnalyticsMetricsBreakdownResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponseContext.md)
- [AnalyticsMetricsBreakdownResponseData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsBreakdownResponseData.md)
- [AnalyticsMetricsOverTimeResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponse.md)
- [AnalyticsMetricsOverTimeResponseContext](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponseContext.md)
- [AnalyticsMetricsOverTimeResponseData](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsMetricsOverTimeResponseData.md)
- [AnalyticsPlays400Error](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsPlays400Error.md)
- [AnalyticsPlaysResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/AnalyticsPlaysResponse.md)
- [AuthenticatePayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/AuthenticatePayload.md)
Expand Down Expand Up @@ -356,6 +384,7 @@ Method | HTTP request | Description
- [TokenCreationPayload](https://github.com/apivideo/api.video-go-client/blob/main/docs/TokenCreationPayload.md)
- [TokenListResponse](https://github.com/apivideo/api.video-go-client/blob/main/docs/TokenListResponse.md)
- [TooManyRequests](https://github.com/apivideo/api.video-go-client/blob/main/docs/TooManyRequests.md)
- [UnrecognizedRequestUrl](https://github.com/apivideo/api.video-go-client/blob/main/docs/UnrecognizedRequestUrl.md)
- [UploadToken](https://github.com/apivideo/api.video-go-client/blob/main/docs/UploadToken.md)
- [Video](https://github.com/apivideo/api.video-go-client/blob/main/docs/Video.md)
- [VideoAssets](https://github.com/apivideo/api.video-go-client/blob/main/docs/VideoAssets.md)
Expand Down
Loading

0 comments on commit e749556

Please sign in to comment.