Skip to content

Commit

Permalink
Merge pull request #112 from apivideo/update-player-logo-request-desc…
Browse files Browse the repository at this point in the history
…ription

Add player logo file contraints to API reference
  • Loading branch information
bot-api-video committed Sep 28, 2023
2 parents cd51fa6 + 8c17b16 commit f21b38b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
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 @@
15641308b8635d4681dbd94d4931525c407a0a10b8e7487da2365559b4d4adf2
99dd458f8a6d84027d6ea7d90cbc93b699c1c212f7f0e36f067326a87a068499
2 changes: 1 addition & 1 deletion docs/PlayerThemesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,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
```csharp
Expand Down
4 changes: 2 additions & 2 deletions src/Api/PlayerThemesApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ public class APIlistRequest {
}
}
/// <summary>
/// Upload a logo Upload an image logo for a player.
/// Upload a logo Upload an image file as a logo for your player. The image should fit within these constraints: - The image mime type must be &#x60;image/jpeg&#x60; or &#x60;image/png&#x60;. api.video recommends using &#x60;png&#x60; 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.
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="playerId">The unique identifier for the player.</param>
Expand All @@ -523,7 +523,7 @@ public PlayerTheme uploadLogo(string playerId, System.IO.Stream file, string lin
}

/// <summary>
/// Upload a logo Upload an image logo for a player.
/// Upload a logo Upload an image file as a logo for your player. The image should fit within these constraints: - The image mime type must be &#x60;image/jpeg&#x60; or &#x60;image/png&#x60;. api.video recommends using &#x60;png&#x60; 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.
/// </summary>
/// <exception cref="ApiVideo.Client.ApiException">Thrown when fails to make API call</exception>
/// <param name="playerId">The unique identifier for the player.</param>
Expand Down

0 comments on commit f21b38b

Please sign in to comment.