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 Jun 5, 2024
1 parent 09f8b68 commit fc3c086
Show file tree
Hide file tree
Showing 31 changed files with 44 additions and 1,018 deletions.
42 changes: 3 additions & 39 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,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 @@ -54,19 +48,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 Expand Up @@ -118,12 +106,6 @@ src/ApiVideo.Test/Model/LinkTests.cs
src/ApiVideo.Test/Model/LiveStreamAssetsTests.cs
src/ApiVideo.Test/Model/LiveStreamCreationPayloadTests.cs
src/ApiVideo.Test/Model/LiveStreamListResponseTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionClientTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionDeviceTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionLocationTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionReferrerTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionSessionTests.cs
src/ApiVideo.Test/Model/LiveStreamSessionTests.cs
src/ApiVideo.Test/Model/LiveStreamTests.cs
src/ApiVideo.Test/Model/LiveStreamUpdatePayloadTests.cs
src/ApiVideo.Test/Model/MetadataTests.cs
Expand All @@ -144,17 +126,11 @@ src/ApiVideo.Test/Model/RestreamsResponseObjectTests.cs
src/ApiVideo.Test/Model/TokenCreationPayloadTests.cs
src/ApiVideo.Test/Model/TokenListResponseTests.cs
src/ApiVideo.Test/Model/TooManyRequestsTests.cs
src/ApiVideo.Test/Model/UnrecognizedRequestUrlTests.cs
src/ApiVideo.Test/Model/UploadTokenTests.cs
src/ApiVideo.Test/Model/VideoAssetsTests.cs
src/ApiVideo.Test/Model/VideoClipTests.cs
src/ApiVideo.Test/Model/VideoCreationPayloadTests.cs
src/ApiVideo.Test/Model/VideoSessionClientTests.cs
src/ApiVideo.Test/Model/VideoSessionDeviceTests.cs
src/ApiVideo.Test/Model/VideoSessionLocationTests.cs
src/ApiVideo.Test/Model/VideoSessionOsTests.cs
src/ApiVideo.Test/Model/VideoSessionReferrerTests.cs
src/ApiVideo.Test/Model/VideoSessionSessionTests.cs
src/ApiVideo.Test/Model/VideoSessionTests.cs
src/ApiVideo.Test/Model/VideoSourceLiveStreamLinkTests.cs
src/ApiVideo.Test/Model/VideoSourceLiveStreamTests.cs
src/ApiVideo.Test/Model/VideoSourceTests.cs
Expand Down Expand Up @@ -213,12 +189,6 @@ src/ApiVideo/Model/LiveStream.cs
src/ApiVideo/Model/LiveStreamAssets.cs
src/ApiVideo/Model/LiveStreamCreationPayload.cs
src/ApiVideo/Model/LiveStreamListResponse.cs
src/ApiVideo/Model/LiveStreamSession.cs
src/ApiVideo/Model/LiveStreamSessionClient.cs
src/ApiVideo/Model/LiveStreamSessionDevice.cs
src/ApiVideo/Model/LiveStreamSessionLocation.cs
src/ApiVideo/Model/LiveStreamSessionReferrer.cs
src/ApiVideo/Model/LiveStreamSessionSession.cs
src/ApiVideo/Model/LiveStreamUpdatePayload.cs
src/ApiVideo/Model/Metadata.cs
src/ApiVideo/Model/Model403ErrorSchema.cs
Expand All @@ -240,18 +210,12 @@ src/ApiVideo/Model/RestreamsResponseObject.cs
src/ApiVideo/Model/TokenCreationPayload.cs
src/ApiVideo/Model/TokenListResponse.cs
src/ApiVideo/Model/TooManyRequests.cs
src/ApiVideo/Model/UnrecognizedRequestUrl.cs
src/ApiVideo/Model/UploadToken.cs
src/ApiVideo/Model/Video.cs
src/ApiVideo/Model/VideoAssets.cs
src/ApiVideo/Model/VideoClip.cs
src/ApiVideo/Model/VideoCreationPayload.cs
src/ApiVideo/Model/VideoSession.cs
src/ApiVideo/Model/VideoSessionClient.cs
src/ApiVideo/Model/VideoSessionDevice.cs
src/ApiVideo/Model/VideoSessionLocation.cs
src/ApiVideo/Model/VideoSessionOs.cs
src/ApiVideo/Model/VideoSessionReferrer.cs
src/ApiVideo/Model/VideoSessionSession.cs
src/ApiVideo/Model/VideoSource.cs
src/ApiVideo/Model/VideoSourceLiveStream.cs
src/ApiVideo/Model/VideoSourceLiveStreamLink.cs
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
9ef51e903ea5ac11defcf41d7d64b096535604be88599008b13aab0d527f4e25
18 changes: 3 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ AnalyticsApi analytics = client.Analytics()

Method | HTTP request | Description
------------- | ------------- | -------------
[**getLiveStreamsPlays**](https://github.com/apivideo/api.video-csharp-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-csharp-client/blob/main/docs/AnalyticsApi.md#getVideosPlays) | **GET** /analytics/videos/plays | Get play events for video
**(deprecated)** [**getLiveStreamsPlays**](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/AnalyticsApi.md#getLiveStreamsPlays) | **GET** /analytics/live-streams/plays | Get play events for live stream
**(deprecated)** [**getVideosPlays**](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/AnalyticsApi.md#getVideosPlays) | **GET** /analytics/videos/plays | Get play events for video


#### CaptionsApi
Expand Down Expand Up @@ -359,12 +359,6 @@ Method | HTTP request | Description
- [LiveStreamAssets](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamAssets.md)
- [LiveStreamCreationPayload](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamCreationPayload.md)
- [LiveStreamListResponse](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamListResponse.md)
- [LiveStreamSession](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSession.md)
- [LiveStreamSessionClient](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSessionClient.md)
- [LiveStreamSessionDevice](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSessionDevice.md)
- [LiveStreamSessionLocation](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSessionLocation.md)
- [LiveStreamSessionReferrer](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSessionReferrer.md)
- [LiveStreamSessionSession](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamSessionSession.md)
- [LiveStreamUpdatePayload](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/LiveStreamUpdatePayload.md)
- [Metadata](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/Metadata.md)
- [Model403ErrorSchema](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/Model403ErrorSchema.md)
Expand All @@ -384,18 +378,12 @@ Method | HTTP request | Description
- [TokenCreationPayload](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/TokenCreationPayload.md)
- [TokenListResponse](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/TokenListResponse.md)
- [TooManyRequests](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/TooManyRequests.md)
- [UnrecognizedRequestUrl](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/UnrecognizedRequestUrl.md)
- [UploadToken](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/UploadToken.md)
- [Video](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/Video.md)
- [VideoAssets](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoAssets.md)
- [VideoClip](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoClip.md)
- [VideoCreationPayload](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoCreationPayload.md)
- [VideoSession](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSession.md)
- [VideoSessionClient](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionClient.md)
- [VideoSessionDevice](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionDevice.md)
- [VideoSessionLocation](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionLocation.md)
- [VideoSessionOs](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionOs.md)
- [VideoSessionReferrer](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionReferrer.md)
- [VideoSessionSession](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSessionSession.md)
- [VideoSource](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSource.md)
- [VideoSourceLiveStream](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSourceLiveStream.md)
- [VideoSourceLiveStreamLink](https://github.com/apivideo/api.video-csharp-client/blob/main/docs/VideoSourceLiveStreamLink.md)
Expand Down
4 changes: 2 additions & 2 deletions docs/AnalyticsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Method | HTTP request | Description
Get play events for live stream

Retrieve filtered analytics about the number of plays for your live streams in a project.
Retrieve filtered analytics about the number of plays for your live streams in a project. This endpoint will be deprecated with the release of Analytics v2.0.

### Example
```csharp
Expand Down Expand Up @@ -94,7 +94,7 @@ Name | Type | Description | Notes
Get play events for video

Retrieve filtered analytics about the number of plays for your videos in a project.
Retrieve filtered analytics about the number of plays for your videos in a project. This endpoint will be deprecated with the release of Analytics v2.0.

### Example
```csharp
Expand Down
15 changes: 0 additions & 15 deletions docs/LiveStreamSession.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/LiveStreamSessionClient.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/LiveStreamSessionDevice.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/LiveStreamSessionLocation.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/LiveStreamSessionReferrer.md

This file was deleted.

12 changes: 0 additions & 12 deletions docs/LiveStreamSessionSession.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# ApiVideo.Model.VideoSessionLocation
The location of the viewer.
# ApiVideo.Model.UnrecognizedRequestUrl

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**Country** | **string** | The country of the viewer. | [optional]
**City** | **string** | The city of the viewer. | [optional]
**Type** | **string** | A link to the error documentation. | [optional]
**Title** | **string** | A description of the error that occurred. | [optional]
**Status** | **int** | The HTTP status code. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

15 changes: 0 additions & 15 deletions docs/VideoSession.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/VideoSessionClient.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/VideoSessionDevice.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/VideoSessionOs.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/VideoSessionReferrer.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/VideoSessionSession.md

This file was deleted.

Loading

0 comments on commit fc3c086

Please sign in to comment.