From 7ffec49290bdcd9afefb865a686a64f4ce6c0292 Mon Sep 17 00:00:00 2001 From: szekelyzol Date: Wed, 27 Sep 2023 11:16:30 +0000 Subject: [PATCH] Add player logo file contraints to API reference --- .openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 | 2 +- Sources/APIs/PlayerThemesAPI.swift | 2 +- docs/PlayerThemesAPI.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 index 2dedf5b..c64e6f1 100644 --- a/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 +++ b/.openapi-generator/oas_apivideo.yaml-defaut-cli.sha256 @@ -1 +1 @@ -15641308b8635d4681dbd94d4931525c407a0a10b8e7487da2365559b4d4adf2 \ No newline at end of file +99dd458f8a6d84027d6ea7d90cbc93b699c1c212f7f0e36f067326a87a068499 \ No newline at end of file diff --git a/Sources/APIs/PlayerThemesAPI.swift b/Sources/APIs/PlayerThemesAPI.swift index 4fd0ead..04652cf 100644 --- a/Sources/APIs/PlayerThemesAPI.swift +++ b/Sources/APIs/PlayerThemesAPI.swift @@ -307,7 +307,7 @@ open class PlayerThemesAPI { /** Upload a logo - POST /players/{playerId}/logo - - Upload an image logo for a player. + - Upload an image file as a logo for your player. The image should fit within these constraints: - The image mime type must be `image/jpeg` or `image/png`. api.video recommends using `png` images with transparent background. - The image size should be a maximum of 200px width x 100px. - The file size should be a maximum of 100 KiB. - parameter playerId: (path) The unique identifier for the player. - parameter file: (form) The name of the file you want to use for your logo. - parameter link: (form) A public link that you want to advertise in your player. For example, you could add a link to your company. When a viewer clicks on your logo, they will be taken to this address. (optional) diff --git a/docs/PlayerThemesAPI.md b/docs/PlayerThemesAPI.md index 7122bad..a054e01 100644 --- a/docs/PlayerThemesAPI.md +++ b/docs/PlayerThemesAPI.md @@ -283,7 +283,7 @@ Name | Type | Description | Notes Upload a logo -Upload an image logo for a player. +Upload an image file as a logo for your player. The image should fit within these constraints: - The image mime type must be `image/jpeg` or `image/png`. api.video recommends using `png` images with transparent background. - The image size should be a maximum of 200px width x 100px. - The file size should be a maximum of 100 KiB. ### Example