Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add player logo file contraints to API reference #112

Merged
merged 1 commit into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading