Skip to content

Commit

Permalink
Add summary feature
Browse files Browse the repository at this point in the history
  • Loading branch information
olivierapivideo authored Oct 21, 2024
1 parent 823df0d commit a802760
Show file tree
Hide file tree
Showing 30 changed files with 1,112 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,6 +48,7 @@ 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
Expand Down Expand Up @@ -76,6 +78,11 @@ Sources/Models/Quality.swift
Sources/Models/RefreshTokenPayload.swift
Sources/Models/RestreamsRequestObject.swift
Sources/Models/RestreamsResponseObject.swift
Sources/Models/SummariesListResponse.swift
Sources/Models/Summary.swift
Sources/Models/SummaryCreationPayload.swift
Sources/Models/SummarySource.swift
Sources/Models/SummaryUpdatePayload.swift
Sources/Models/TokenCreationPayload.swift
Sources/Models/TokenListResponse.swift
Sources/Models/TooManyRequests.swift
Expand Down Expand Up @@ -134,6 +141,7 @@ docs/CaptionsUpdatePayload.md
docs/Chapter.md
docs/ChaptersAPI.md
docs/ChaptersListResponse.md
docs/ConflictError.md
docs/DiscardedVideoUpdatePayload.md
docs/FilterBy.md
docs/FilterBy1.md
Expand Down Expand Up @@ -163,6 +171,12 @@ docs/Quality.md
docs/RefreshTokenPayload.md
docs/RestreamsRequestObject.md
docs/RestreamsResponseObject.md
docs/SummariesAPI.md
docs/SummariesListResponse.md
docs/Summary.md
docs/SummaryCreationPayload.md
docs/SummarySource.md
docs/SummaryUpdatePayload.md
docs/TagsAPI.md
docs/TokenCreationPayload.md
docs/TokenListResponse.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 @@
6f374764cf476ad001123c84953d1980aaf6bc352573020d111594ab74058bf6
26bc230bbff9cf85d3c88920a464491eb9ba7b54ececc356b72bd81374eac1b7
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
[**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
[**getSummarySource**](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesAPI.md#getSummarySource) | **GET** `/summaries/{summaryId}/source` | Get summary details


#### TagsAPI

##### Retrieve an instance of TagsAPI:
Expand Down Expand Up @@ -310,6 +330,7 @@ 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)
Expand Down Expand Up @@ -337,6 +358,11 @@ 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)
- [SummariesListResponse](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummariesListResponse.md)
- [Summary](https://github.com/apivideo/api.video-swift-client/blob/main/docs/Summary.md)
- [SummaryCreationPayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummaryCreationPayload.md)
- [SummarySource](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummarySource.md)
- [SummaryUpdatePayload](https://github.com/apivideo/api.video-swift-client/blob/main/docs/SummaryUpdatePayload.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)
Expand Down
Loading

0 comments on commit a802760

Please sign in to comment.