From 5eec24db19c9bf5e12fd9b99dd274a3feb82cc43 Mon Sep 17 00:00:00 2001 From: ThibaultBee Date: Fri, 13 Oct 2023 10:31:13 +0000 Subject: [PATCH] chore(*): rename ios to swift --- README.md | 7 +- api/openapi.yaml | 176 +++++++++++++++++++++++------------------------ 2 files changed, 90 insertions(+), 93 deletions(-) diff --git a/README.md b/README.md index 58fecd7..5f18bd0 100644 --- a/README.md +++ b/README.md @@ -81,10 +81,7 @@ func main() { //Upload a video //First create a container - creationPayload = apivideosdk.VideoCreationPayload{} - creationPayload.SetTitle("My title") - creationPayload.SetMp4Support(True) - create, err := client.Videos.Create(creationPayload) + create, err := client.Videos.Create(apivideosdk.VideoCreationPayload{Title: "My video title"}) if err != nil { fmt.Println(err) @@ -385,4 +382,4 @@ This helps other users to find the clients and also helps us understand which cl # Contribution -Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository. +Since this API client is generated from an OpenAPI description, we cannot accept pull requests made directly to the repository. If you want to contribute, you can open a pull request on the repository of our [client generator](https://github.com/apivideo/api-client-generator). Otherwise, you can also simply open an issue detailing your need on this repository. \ No newline at end of file diff --git a/api/openapi.yaml b/api/openapi.yaml index f3125e8..ea9974d 100644 --- a/api/openapi.yaml +++ b/api/openapi.yaml @@ -502,8 +502,8 @@ paths: # Documentation: https://github.com/apivideo/api.video-python-client/blob/main/docs/VideosApi.md#list - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#list x-client-action: list x-group-parameters: true x-client-paginated: true @@ -791,8 +791,8 @@ paths: } - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#create + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#create /videos/{videoId}/source: post: description: Ingest a video from a source or file. @@ -1078,8 +1078,8 @@ paths: } - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#upload + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#upload /watermarks: get: description: List all watermarks associated with your workspace. @@ -1224,8 +1224,8 @@ paths: # Documentation: https://github.com/apivideo/api.video-python-client/blob/main/docs/WatermarksApi.md#list - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WatermarksAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WatermarksAPI.md#list post: description: Create a new watermark by uploading a `JPG` or a `PNG` image. operationId: POST_watermark @@ -1414,8 +1414,8 @@ paths: } - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WatermarksAPI.md#upload + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WatermarksAPI.md#upload /watermarks/{watermarkId}: delete: description: Delete a watermark. @@ -1486,8 +1486,8 @@ paths: # Documentation: https://github.com/apivideo/api.video-python-client/blob/main/docs/WatermarksApi.md#delete - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WatermarksAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WatermarksAPI.md#delete /videos/{videoId}/thumbnail: patch: description: Set a thumbnail from a specific time interval within a video. @@ -1677,8 +1677,8 @@ paths: \ the video plays. " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#pickThumbnail + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#pickThumbnail post: description: Upload a thumbnail for a certain video. operationId: POST_videos-videoId-thumbnail @@ -1870,8 +1870,8 @@ paths: \ $thumbnail); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#uploadThumbnail + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#uploadThumbnail /videos/{videoId}: delete: description: Delete a video object by video ID. @@ -1994,8 +1994,8 @@ paths: \ = 'vi4k0jvEUuaTdRAEjQ4Jfrgz'; // the id of the video to delete\n$client->videos()->delete($videoId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#delete get: description: Retrieve the video details by video id. operationId: GET-video @@ -2162,8 +2162,8 @@ paths: \ " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#get patch: description: Update the parameters associated with a video ID. operationId: PATCH-video @@ -2414,8 +2414,8 @@ paths: \ \"bb2\"])))); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#update + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#update /videos/{videoId}/status: get: description: Retrieve upload status and encoding status to determine when the @@ -2615,8 +2615,8 @@ paths: \ " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#getStatus + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#getStatus /upload-tokens: get: description: Retrieve a list of all currently active delegated tokens. @@ -2839,8 +2839,8 @@ paths: \ = $client->uploadTokens()->list(); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/UploadTokensAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/UploadTokensAPI.md#list post: description: 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) @@ -2967,8 +2967,8 @@ paths: \ can no longer be used for authentication.\n$client->uploadTokens()->deleteToken($uploadToken); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/UploadTokensAPI.md#createToken + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/UploadTokensAPI.md#createToken /upload-tokens/{uploadToken}: delete: description: Delete an existing upload token. This is especially useful for @@ -3110,8 +3110,8 @@ paths: \ you want information about.\n$uploadToken = $client->uploadTokens()->getToken($uploadTokenId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/UploadTokensAPI.md#deleteToken + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/UploadTokensAPI.md#deleteToken get: description: Retrieve details about a specific upload token by id. operationId: GET_upload-tokens-uploadToken @@ -3263,8 +3263,8 @@ paths: \ you want information about.\n$uploadToken = $client->uploadTokens()->getToken($uploadTokenId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/UploadTokensAPI.md#getToken + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/UploadTokensAPI.md#getToken /upload: post: description: Uploading a video with the delegated upload token. @@ -3395,8 +3395,8 @@ paths: \ the video plays. " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/VideosAPI.md#uploadWithUploadToken + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/VideosAPI.md#uploadWithUploadToken /live-streams: get: description: Get the list of livestreams on the workspace. @@ -3712,8 +3712,8 @@ paths: \ => 2,\n 'pageSize' => 30\n)); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#list post: description: Creates a livestream object. operationId: POST_live-streams @@ -3886,8 +3886,8 @@ paths: \ 'streamKey' => 'dw-dew8-q6w9-k67w-1ws8'])));\n" - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#create + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#create ApiVideoClient.apiKey = "YOUR_API_KEY" @@ -4041,8 +4041,8 @@ paths: \ \n" - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#delete get: description: Get a livestream by id. operationId: GET_live-streams-liveStreamId @@ -4203,8 +4203,8 @@ paths: \ want to retrieve.\n$liveStream = $client->liveStreams()->get($liveStreamId);\n" - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#get patch: description: Updates the livestream object. operationId: PATCH_live-streams-liveStreamId @@ -4437,8 +4437,8 @@ paths: \ $liveStreamUpdatePayload); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#update + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#update ApiVideoClient.apiKey = "YOUR_API_KEY" @@ -4589,8 +4589,8 @@ paths: \ want to watch.\n$liveStream = $client->liveStreams()->get(liveStreamId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#deleteThumbnail + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#deleteThumbnail post: description: Upload the thumbnail for the livestream. operationId: POST_live-streams-liveStreamId-thumbnail @@ -4775,8 +4775,8 @@ paths: \ $file); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/LiveStreamsAPI.md#uploadThumbnail + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/LiveStreamsAPI.md#uploadThumbnail /videos/{videoId}/captions/{language}: delete: description: Delete a caption in a specific language by by video id. @@ -4930,8 +4930,8 @@ paths: \ language representation.\n\n$client->captions()->delete($videoId, $language); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/CaptionsAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsAPI.md#delete get: description: Retrieve a caption for a video in a specific language. operationId: GET_videos-videoId-captions-language @@ -5105,8 +5105,8 @@ paths: \ language representation\n\n$client->captions()->get($videoId, $language); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/CaptionsAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsAPI.md#get patch: description: Update caption settings. operationId: PATCH_videos-videoId-captions-language @@ -5290,8 +5290,8 @@ paths: $caption = $client->captions()->update($videoId, $language, $captionsUpdatePayload); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/CaptionsAPI.md#update + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsAPI.md#update post: description: Upload a VTT file to add captions to your video. More information can be found [here](https://docs.api.video/vod/add-captions) @@ -5480,8 +5480,8 @@ paths: \ $language, $file); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/CaptionsAPI.md#upload + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsAPI.md#upload /videos/{videoId}/captions: get: description: Retrieve a list of available captions by video id. @@ -5684,8 +5684,8 @@ paths: \ Allowed values 1-100, default is 25.)\n)); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/CaptionsAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/CaptionsAPI.md#list /videos/{videoId}/chapters/{language}: delete: description: Delete a chapter in a specific language by providing the video @@ -5840,8 +5840,8 @@ paths: \ language representation.\n\n$client->chapters()->delete($videoId, $language); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/ChaptersAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/ChaptersAPI.md#delete get: description: 'Retrieve a chapter for by video id in a specific language. ' operationId: GET_videos-videoId-chapters-language @@ -6009,8 +6009,8 @@ paths: \ language representation.\n\n$client->chapters()->delete($videoId, $language); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/ChaptersAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/ChaptersAPI.md#get post: description: |- Upload a VTT file to add chapters to your video. @@ -6204,8 +6204,8 @@ paths: \ = $client->chapters()->upload($videoId, $language, $file); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/ChaptersAPI.md#upload + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/ChaptersAPI.md#upload /videos/{videoId}/chapters: get: description: Retrieve a list of all chapters for by video id. @@ -6406,8 +6406,8 @@ paths: \ Allowed values 1-100, default is 25.)\n)); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/ChaptersAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/ChaptersAPI.md#list /players: get: description: Retrieve a list of all the player themes you created, as well as @@ -6689,8 +6689,8 @@ paths: \ page. Allowed values 1-100, default is 25.\n)); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#list post: description: Create a player for your video, and customise it. operationId: POST_players @@ -6882,8 +6882,8 @@ paths: \ title. Default: false)\n ->setForceLoop(true); // enable/disable\ \ looping. Default: false)\n\n$playerTheme = $client->playerThemes()->create($playerThemeCreationPayload); " - language: swift - code: "// First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started\n\ - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#create\n\ + code: "// First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started\n\ + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#create\n\ \nApiVideoClient.apiKey = \"YOUR_API_KEY\"\n\nlet videoCreationPayload\ \ = PlayerThemeCreationPayload(\n text = \"rgba(255, 0, 0, 1)\", // RGBA\ \ color for timer text. Default: rgba(255, 255, 255, 1)\n link = \"rgba(0,\ @@ -7048,8 +7048,8 @@ paths: \ " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#delete get: description: Retreive a player theme by player id. operationId: GET_players-playerId @@ -7192,8 +7192,8 @@ paths: \ = $client->playerThemes()->get($playerId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#get patch: description: "Use a player ID to update specific details for a player. \nNOTE:\ \ It may take up to 10 min before the new player configuration is available\ @@ -7422,8 +7422,8 @@ paths: \ $playerThemeUpdatePayload); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#update + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#update /players/{playerId}/logo: delete: description: Delete the logo associated to a player. @@ -7563,8 +7563,8 @@ paths: $client->playerThemes()->deleteLogo($playerId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#deleteLogo + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#deleteLogo post: description: | Upload an image file as a logo for your player. The image should fit within these constraints: @@ -7757,8 +7757,8 @@ paths: \ $file, $link); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/PlayerThemesAPI.md#uploadLogo + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/PlayerThemesAPI.md#uploadLogo /analytics/videos/plays: get: description: Retrieve filtered analytics about the number of plays for your @@ -9082,8 +9082,8 @@ paths: \ events, currentPage, pageSize }); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WebhooksAPI.md#list + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WebhooksAPI.md#list post: description: "Webhooks can push notifications to your server, rather than polling\ \ api.video for changes. We currently offer four events: \n* ```video.encoding.quality.completed```\ @@ -9263,8 +9263,8 @@ paths: https://example.com/webhooks\"); // The url to which HTTP notifications\ \ are sent. It could be any http or https URL.)\n\n$webhook = $client->webhooks()->create($webhooksCreationPayload); " - language: swift - code: "// First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started\n\ - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WebhooksAPI.md#create\n\ + code: "// First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started\n\ + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WebhooksAPI.md#create\n\ \nApiVideoClient.apiKey = \"YOUR_API_KEY\"\n\nlet webhooksCreationPayload\ \ = webhooks-creation-payload(events: [\"events_example\"], url: \"url_example\"\ )\n\nWebhooksAPI.create(webhooksCreationPayload: webhooksCreationPayload)\ @@ -9408,8 +9408,8 @@ paths: \ " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WebhooksAPI.md#delete + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WebhooksAPI.md#delete get: description: Retrieve webhook details by id. operationId: GET-Webhook @@ -9550,8 +9550,8 @@ paths: \ $client->webhooks()->get($webhookId); " - language: swift code: | - // First install the api client: https://github.com/apivideo/api.video-ios-client#getting-started - // Documentation: https://github.com/apivideo/api.video-ios-client/blob/main/docs/WebhooksAPI.md#get + // First install the api client: https://github.com/apivideo/api.video-swift-client#getting-started + // Documentation: https://github.com/apivideo/api.video-swift-client/blob/main/docs/WebhooksAPI.md#get components: examples: live-stream-response-example: