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 #64

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 Sources/APIs/PlayerThemesAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion docs/PlayerThemesAPI.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down