Upload a logo
POST {{baseUrl}}/players/:playerId/logo
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.
Request Body
[{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"link", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"playerId":"\u003cstring\u003e","name":"\u003cstring\u003e","text":"\u003cstring\u003e","link":"\u003cstring\u003e","linkHover":"\u003cstring\u003e","linkActive":"\u003cstring\u003e","trackPlayed":"\u003cstring\u003e","trackUnplayed":"\u003cstring\u003e","trackBackground":"\u003cstring\u003e","backgroundTop":"\u003cstring\u003e","backgroundBottom":"\u003cstring\u003e","backgroundText":"\u003cstring\u003e","enableApi":"\u003cboolean\u003e","enableControls":"\u003cboolean\u003e","forceAutoplay":"\u003cboolean\u003e","hideTitle":"\u003cboolean\u003e","forceLoop":"\u003cboolean\u003e","createdAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","assets":{"logo":"\u003cstring\u003e","link":"\u003cstring\u003e"}}