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
olivierapivideo authored Jul 23, 2024
1 parent d1c9ad3 commit af3a2cb
Show file tree
Hide file tree
Showing 127 changed files with 1,181 additions and 1,194 deletions.
46 changes: 20 additions & 26 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,16 @@ Sources/JSONEncodingHelper.swift
Sources/Models.swift
Sources/Models/AccessToken.swift
Sources/Models/AdditionalBadRequestErrors.swift
Sources/Models/AnalyticsAggregatedMetricsResponse.swift
Sources/Models/AnalyticsAggregatedMetricsResponseContext.swift
Sources/Models/AnalyticsAggregatedMetricsResponseContextTimeframe.swift
Sources/Models/AnalyticsData.swift
Sources/Models/AnalyticsMetricsBreakdownResponse.swift
Sources/Models/AnalyticsMetricsBreakdownResponseContext.swift
Sources/Models/AnalyticsMetricsBreakdownResponseData.swift
Sources/Models/AnalyticsMetricsOverTimeResponse.swift
Sources/Models/AnalyticsMetricsOverTimeResponseContext.swift
Sources/Models/AnalyticsMetricsOverTimeResponseData.swift
Sources/Models/AnalyticsPlays400Error.swift
Sources/Models/AnalyticsPlaysResponse.swift
Sources/Models/AuthenticatePayload.swift
Expand All @@ -43,12 +52,6 @@ Sources/Models/LiveStream.swift
Sources/Models/LiveStreamAssets.swift
Sources/Models/LiveStreamCreationPayload.swift
Sources/Models/LiveStreamListResponse.swift
Sources/Models/LiveStreamSession.swift
Sources/Models/LiveStreamSessionClient.swift
Sources/Models/LiveStreamSessionDevice.swift
Sources/Models/LiveStreamSessionLocation.swift
Sources/Models/LiveStreamSessionReferrer.swift
Sources/Models/LiveStreamSessionSession.swift
Sources/Models/LiveStreamUpdatePayload.swift
Sources/Models/Metadata.swift
Sources/Models/Model403ErrorSchema.swift
Expand All @@ -69,18 +72,12 @@ Sources/Models/RestreamsResponseObject.swift
Sources/Models/TokenCreationPayload.swift
Sources/Models/TokenListResponse.swift
Sources/Models/TooManyRequests.swift
Sources/Models/UnrecognizedRequestUrl.swift
Sources/Models/UploadToken.swift
Sources/Models/Video.swift
Sources/Models/VideoAssets.swift
Sources/Models/VideoClip.swift
Sources/Models/VideoCreationPayload.swift
Sources/Models/VideoSession.swift
Sources/Models/VideoSessionClient.swift
Sources/Models/VideoSessionDevice.swift
Sources/Models/VideoSessionLocation.swift
Sources/Models/VideoSessionOs.swift
Sources/Models/VideoSessionReferrer.swift
Sources/Models/VideoSessionSession.swift
Sources/Models/VideoSource.swift
Sources/Models/VideoSourceLiveStream.swift
Sources/Models/VideoSourceLiveStreamLink.swift
Expand Down Expand Up @@ -108,7 +105,16 @@ docs/AccessToken.md
docs/AdditionalBadRequestErrors.md
docs/AdvancedAuthenticationAPI.md
docs/AnalyticsAPI.md
docs/AnalyticsAggregatedMetricsResponse.md
docs/AnalyticsAggregatedMetricsResponseContext.md
docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md
docs/AnalyticsData.md
docs/AnalyticsMetricsBreakdownResponse.md
docs/AnalyticsMetricsBreakdownResponseContext.md
docs/AnalyticsMetricsBreakdownResponseData.md
docs/AnalyticsMetricsOverTimeResponse.md
docs/AnalyticsMetricsOverTimeResponseContext.md
docs/AnalyticsMetricsOverTimeResponseData.md
docs/AnalyticsPlays400Error.md
docs/AnalyticsPlaysResponse.md
docs/AuthenticatePayload.md
Expand All @@ -126,12 +132,6 @@ docs/LiveStream.md
docs/LiveStreamAssets.md
docs/LiveStreamCreationPayload.md
docs/LiveStreamListResponse.md
docs/LiveStreamSession.md
docs/LiveStreamSessionClient.md
docs/LiveStreamSessionDevice.md
docs/LiveStreamSessionLocation.md
docs/LiveStreamSessionReferrer.md
docs/LiveStreamSessionSession.md
docs/LiveStreamUpdatePayload.md
docs/LiveStreamsAPI.md
docs/Metadata.md
Expand All @@ -153,19 +153,13 @@ docs/RestreamsResponseObject.md
docs/TokenCreationPayload.md
docs/TokenListResponse.md
docs/TooManyRequests.md
docs/UnrecognizedRequestUrl.md
docs/UploadToken.md
docs/UploadTokensAPI.md
docs/Video.md
docs/VideoAssets.md
docs/VideoClip.md
docs/VideoCreationPayload.md
docs/VideoSession.md
docs/VideoSessionClient.md
docs/VideoSessionDevice.md
docs/VideoSessionLocation.md
docs/VideoSessionOs.md
docs/VideoSessionReferrer.md
docs/VideoSessionSession.md
docs/VideoSource.md
docs/VideoSourceLiveStream.md
docs/VideoSourceLiveStreamLink.md
Expand Down
2 changes: 1 addition & 1 deletion .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
d7b342ceb1a4805da9e3d6355384e34c1a99e1300d01cac3ae3218c5738f11f1
16c7ff294d3c9a1f33f41ce3edfa0dbfed5810ccdd2d92872179b6c87c5e9169
29 changes: 14 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ AnalyticsAPI

Method | HTTP request | Description
------------- | ------------- | -------------
[**getLiveStreamsPlays**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAPI.md#getLiveStreamsPlays) | **GET** `/analytics/live-streams/plays` | Get play events for live stream
[**getVideosPlays**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAPI.md#getVideosPlays) | **GET** `/analytics/videos/plays` | Get play events for video
[**getAggregatedMetrics**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAPI.md#getAggregatedMetrics) | **GET** `/data/metrics/{metric}/{aggregation}` | Retrieve aggregated metrics
[**getMetricsBreakdown**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAPI.md#getMetricsBreakdown) | **GET** `/data/buckets/{metric}/{breakdown}` | Retrieve metrics in a breakdown of dimensions
[**getMetricsOverTime**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAPI.md#getMetricsOverTime) | **GET** `/data/timeseries/{metric}` | Retrieve metrics over time


#### CaptionsAPI
Expand Down Expand Up @@ -164,6 +165,7 @@ Method | HTTP request | Description
[**list**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#list) | **GET** `/live-streams` | List all live streams
[**uploadThumbnail**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#uploadThumbnail) | **POST** `/live-streams/{liveStreamId}/thumbnail` | Upload a thumbnail
[**deleteThumbnail**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#deleteThumbnail) | **DELETE** `/live-streams/{liveStreamId}/thumbnail` | Delete a thumbnail
[**complete**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#complete) | **PUT** `/live-streams/{liveStreamId}/complete` | Complete a live stream


#### PlayerThemesAPI
Expand Down Expand Up @@ -269,7 +271,16 @@ Method | HTTP request | Description

- [AccessToken](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AccessToken.md)
- [AdditionalBadRequestErrors](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AdditionalBadRequestErrors.md)
- [AnalyticsAggregatedMetricsResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAggregatedMetricsResponse.md)
- [AnalyticsAggregatedMetricsResponseContext](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContext.md)
- [AnalyticsAggregatedMetricsResponseContextTimeframe](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsAggregatedMetricsResponseContextTimeframe.md)
- [AnalyticsData](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsData.md)
- [AnalyticsMetricsBreakdownResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsBreakdownResponse.md)
- [AnalyticsMetricsBreakdownResponseContext](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsBreakdownResponseContext.md)
- [AnalyticsMetricsBreakdownResponseData](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsBreakdownResponseData.md)
- [AnalyticsMetricsOverTimeResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsOverTimeResponse.md)
- [AnalyticsMetricsOverTimeResponseContext](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsOverTimeResponseContext.md)
- [AnalyticsMetricsOverTimeResponseData](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsMetricsOverTimeResponseData.md)
- [AnalyticsPlays400Error](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsPlays400Error.md)
- [AnalyticsPlaysResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AnalyticsPlaysResponse.md)
- [AuthenticatePayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/AuthenticatePayload.md)
Expand All @@ -285,12 +296,6 @@ Method | HTTP request | Description
- [LiveStreamAssets](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamAssets.md)
- [LiveStreamCreationPayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamCreationPayload.md)
- [LiveStreamListResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamListResponse.md)
- [LiveStreamSession](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSession.md)
- [LiveStreamSessionClient](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSessionClient.md)
- [LiveStreamSessionDevice](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSessionDevice.md)
- [LiveStreamSessionLocation](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSessionLocation.md)
- [LiveStreamSessionReferrer](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSessionReferrer.md)
- [LiveStreamSessionSession](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamSessionSession.md)
- [LiveStreamUpdatePayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamUpdatePayload.md)
- [Metadata](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Metadata.md)
- [Model403ErrorSchema](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Model403ErrorSchema.md)
Expand All @@ -310,18 +315,12 @@ Method | HTTP request | Description
- [TokenCreationPayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/TokenCreationPayload.md)
- [TokenListResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/TokenListResponse.md)
- [TooManyRequests](https://github.com/apivideo/api.video-swift-client/blob/main/docs/TooManyRequests.md)
- [UnrecognizedRequestUrl](https://github.com/apivideo/api.video-swift-client/blob/main/docs/UnrecognizedRequestUrl.md)
- [UploadToken](https://github.com/apivideo/api.video-swift-client/blob/main/docs/UploadToken.md)
- [Video](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Video.md)
- [VideoAssets](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoAssets.md)
- [VideoClip](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoClip.md)
- [VideoCreationPayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoCreationPayload.md)
- [VideoSession](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSession.md)
- [VideoSessionClient](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionClient.md)
- [VideoSessionDevice](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionDevice.md)
- [VideoSessionLocation](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionLocation.md)
- [VideoSessionOs](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionOs.md)
- [VideoSessionReferrer](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionReferrer.md)
- [VideoSessionSession](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSessionSession.md)
- [VideoSource](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSource.md)
- [VideoSourceLiveStream](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSourceLiveStream.md)
- [VideoSourceLiveStreamLink](https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideoSourceLiveStreamLink.md)
Expand Down
Loading

0 comments on commit af3a2cb

Please sign in to comment.