Skip to content

Commit

Permalink
Add summary feature
Browse files Browse the repository at this point in the history
  • Loading branch information
szekelyzol authored Oct 18, 2024
1 parent 178b0ac commit 0fe9fd4
Show file tree
Hide file tree
Showing 30 changed files with 1,057 additions and 9 deletions.
14 changes: 14 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Sources/APIs/CaptionsAPI.swift
Sources/APIs/ChaptersAPI.swift
Sources/APIs/LiveStreamsAPI.swift
Sources/APIs/PlayerThemesAPI.swift
Sources/APIs/SummariesAPI.swift
Sources/APIs/TagsAPI.swift
Sources/APIs/UploadTokensAPI.swift
Sources/APIs/VideosAPI.swift
Expand Down Expand Up @@ -47,11 +48,14 @@ Sources/Models/CaptionsListResponse.swift
Sources/Models/CaptionsUpdatePayload.swift
Sources/Models/Chapter.swift
Sources/Models/ChaptersListResponse.swift
Sources/Models/ConflictError.swift
Sources/Models/DiscardedVideoUpdatePayload.swift
Sources/Models/Environment.swift
Sources/Models/FilterBy.swift
Sources/Models/FilterBy1.swift
Sources/Models/FilterBy2.swift
Sources/Models/GetSummaries.swift
Sources/Models/InlineObject.swift
Sources/Models/Link.swift
Sources/Models/ListTagsResponse.swift
Sources/Models/ListTagsResponseData.swift
Expand All @@ -76,10 +80,13 @@ Sources/Models/Quality.swift
Sources/Models/RefreshTokenPayload.swift
Sources/Models/RestreamsRequestObject.swift
Sources/Models/RestreamsResponseObject.swift
Sources/Models/SummaryObject.swift
Sources/Models/SummarySource.swift
Sources/Models/TokenCreationPayload.swift
Sources/Models/TokenListResponse.swift
Sources/Models/TooManyRequests.swift
Sources/Models/UnrecognizedRequestUrl.swift
Sources/Models/UpdateSummaryRequest.swift
Sources/Models/UploadToken.swift
Sources/Models/Video.swift
Sources/Models/VideoAssets.swift
Expand Down Expand Up @@ -134,10 +141,13 @@ docs/CaptionsUpdatePayload.md
docs/Chapter.md
docs/ChaptersAPI.md
docs/ChaptersListResponse.md
docs/ConflictError.md
docs/DiscardedVideoUpdatePayload.md
docs/FilterBy.md
docs/FilterBy1.md
docs/FilterBy2.md
docs/GetSummaries.md
docs/InlineObject.md
docs/Link.md
docs/ListTagsResponse.md
docs/ListTagsResponseData.md
Expand All @@ -163,11 +173,15 @@ docs/Quality.md
docs/RefreshTokenPayload.md
docs/RestreamsRequestObject.md
docs/RestreamsResponseObject.md
docs/SummariesAPI.md
docs/SummaryObject.md
docs/SummarySource.md
docs/TagsAPI.md
docs/TokenCreationPayload.md
docs/TokenListResponse.md
docs/TooManyRequests.md
docs/UnrecognizedRequestUrl.md
docs/UpdateSummaryRequest.md
docs/UploadToken.md
docs/UploadTokensAPI.md
docs/Video.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 @@
9d05425d4fb2c3a73804ed5a27232eda6751260b0947f6b4c736cc96df300103
92f534e12eeb57fda284e0323fdf986652b4cc901acefd85b8c0fdfa9d64fca3
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- [ChaptersAPI](#ChaptersAPI)
- [LiveStreamsAPI](#LiveStreamsAPI)
- [PlayerThemesAPI](#PlayerThemesAPI)
- [SummariesAPI](#SummariesAPI)
- [TagsAPI](#TagsAPI)
- [UploadTokensAPI](#UploadTokensAPI)
- [VideosAPI](#VideosAPI)
Expand Down Expand Up @@ -190,6 +191,25 @@ Method | HTTP request | Description
[**deleteLogo**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#deleteLogo) | **DELETE** `/players/{playerId}/logo` | Delete logo


#### SummariesAPI

##### Retrieve an instance of SummariesAPI:

```swift
SummariesAPI
```

##### Endpoints

Method | HTTP request | Description
------------- | ------------- | -------------
[**create**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#create) | **POST** `/summaries` | Generate video summary
[**get**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#get) | **GET** `/summaries/{summaryId}/source` | Get summary details
[**update**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#update) | **PATCH** `/summaries/{summaryId}/source` | Update summary details
[**delete**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#delete) | **DELETE** `/summaries/{summaryId}` | Delete video summary
[**list**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#list) | **GET** `/summaries` | List summaries


#### TagsAPI

##### Retrieve an instance of TagsAPI:
Expand Down Expand Up @@ -310,10 +330,13 @@ Method | HTTP request | Description
- [CaptionsUpdatePayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsUpdatePayload.md)
- [Chapter](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Chapter.md)
- [ChaptersListResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/ChaptersListResponse.md)
- [ConflictError](https://github.com/apivideo/api.video-swift-client/blob/main/docs/ConflictError.md)
- [DiscardedVideoUpdatePayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/DiscardedVideoUpdatePayload.md)
- [FilterBy](https://github.com/apivideo/api.video-swift-client/blob/main/docs/FilterBy.md)
- [FilterBy1](https://github.com/apivideo/api.video-swift-client/blob/main/docs/FilterBy1.md)
- [FilterBy2](https://github.com/apivideo/api.video-swift-client/blob/main/docs/FilterBy2.md)
- [GetSummaries](https://github.com/apivideo/api.video-swift-client/blob/main/docs/GetSummaries.md)
- [InlineObject](https://github.com/apivideo/api.video-swift-client/blob/main/docs/InlineObject.md)
- [Link](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Link.md)
- [ListTagsResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/ListTagsResponse.md)
- [ListTagsResponseData](https://github.com/apivideo/api.video-swift-client/blob/main/docs/ListTagsResponseData.md)
Expand All @@ -337,10 +360,13 @@ Method | HTTP request | Description
- [RefreshTokenPayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/RefreshTokenPayload.md)
- [RestreamsRequestObject](https://github.com/apivideo/api.video-swift-client/blob/main/docs/RestreamsRequestObject.md)
- [RestreamsResponseObject](https://github.com/apivideo/api.video-swift-client/blob/main/docs/RestreamsResponseObject.md)
- [SummaryObject](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummaryObject.md)
- [SummarySource](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummarySource.md)
- [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)
- [UpdateSummaryRequest](https://github.com/apivideo/api.video-swift-client/blob/main/docs/UpdateSummaryRequest.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)
Expand Down
Loading

0 comments on commit 0fe9fd4

Please sign in to comment.