From 6f7a5027a70caab38e07c6c3baabea04037e3d27 Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Thu, 5 Oct 2023 11:18:54 +0000 Subject: [PATCH] Fix indirect URLs --- .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 | 2 +- Sources/APIs/CaptionsAPI.swift | 2 +- Sources/APIs/ChaptersAPI.swift | 2 +- Sources/APIs/UploadTokensAPI.swift | 2 +- Sources/APIs/VideosAPI.swift | 6 +++--- Sources/Models/LiveStream.swift | 2 +- Sources/Models/LiveStreamCreationPayload.swift | 2 +- Sources/Models/LiveStreamUpdatePayload.swift | 2 +- Sources/Models/Video.swift | 4 ++-- Sources/Models/VideoCreationPayload.swift | 4 ++-- Sources/Models/VideoUpdatePayload.swift | 4 ++-- docs/CaptionsAPI.md | 2 +- docs/ChaptersAPI.md | 2 +- docs/LiveStream.md | 2 +- docs/LiveStreamCreationPayload.md | 2 +- docs/LiveStreamUpdatePayload.md | 2 +- docs/UploadTokensAPI.md | 2 +- docs/Video.md | 4 ++-- docs/VideoCreationPayload.md | 4 ++-- docs/VideoUpdatePayload.md | 4 ++-- docs/VideosAPI.md | 6 +++--- 21 files changed, 31 insertions(+), 31 deletions(-) diff --git a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 index c64e6f1..c92aef0 100644 --- a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 +++ b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 @@ -1 +1 @@ -99dd458f8a6d84027d6ea7d90cbc93b699c1c212f7f0e36f067326a87a068499 \ No newline at end of file +b81bc1a775a59afdd386a47746d16f2c79dc58f2040c663443f51e5cb3e5ceb8 \ No newline at end of file diff --git a/Sources/APIs/CaptionsAPI.swift b/Sources/APIs/CaptionsAPI.swift index 694a502..c480cfd 100644 --- a/Sources/APIs/CaptionsAPI.swift +++ b/Sources/APIs/CaptionsAPI.swift @@ -37,7 +37,7 @@ open class CaptionsAPI { /** Upload a caption - POST /videos/{videoId}/captions/{language} - - Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/reference/captions) + - Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions) - parameter videoId: (path) The unique identifier for the video you want to add a caption to. - parameter language: (path) A valid BCP 47 language representation. - parameter file: (form) The video text track (VTT) you want to upload. diff --git a/Sources/APIs/ChaptersAPI.swift b/Sources/APIs/ChaptersAPI.swift index 867c8ae..17b7ed7 100644 --- a/Sources/APIs/ChaptersAPI.swift +++ b/Sources/APIs/ChaptersAPI.swift @@ -37,7 +37,7 @@ open class ChaptersAPI { /** Upload a chapter - POST /videos/{videoId}/chapters/{language} - - Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos) for more details. + - Upload a VTT file to add chapters to your video. Chapters help break the video into sections. Read our [tutorial](https://api.video/blog/tutorials/adding-chapters-to-your-videos/) for more details. - parameter videoId: (path) The unique identifier for the video you want to upload a chapter for. - parameter language: (path) A valid [BCP 47](https://github.com/libyal/libfwnt/wiki/Language-Code-identifiers) language representation. - parameter file: (form) The VTT file describing the chapters you want to upload. diff --git a/Sources/APIs/UploadTokensAPI.swift b/Sources/APIs/UploadTokensAPI.swift index 1b07f23..6b49242 100644 --- a/Sources/APIs/UploadTokensAPI.swift +++ b/Sources/APIs/UploadTokensAPI.swift @@ -35,7 +35,7 @@ open class UploadTokensAPI { /** Generate an upload token - POST /upload-tokens - - Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/reference/upload-tokens) + - Generates an upload token that can be used to replace the API Key. More information can be found [here](https://docs.api.video/vod/delegated-upload-tokens) - parameter tokenCreationPayload: (body) - returns: RequestBuilder */ diff --git a/Sources/APIs/VideosAPI.swift b/Sources/APIs/VideosAPI.swift index 409ec4d..5bcd506 100644 --- a/Sources/APIs/VideosAPI.swift +++ b/Sources/APIs/VideosAPI.swift @@ -35,7 +35,7 @@ open class VideosAPI { /** Create a video object - POST /videos - - Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/videos-1). + - Creates a video object. More information on video objects can be found [here](https://docs.api.video/reference/api/Videos). - parameter videoCreationPayload: (body) video to create - returns: RequestBuilder