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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: Created

{&quot;playerId&quot;:&quot;\u003cstring\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;text&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;,&quot;linkHover&quot;:&quot;\u003cstring\u003e&quot;,&quot;linkActive&quot;:&quot;\u003cstring\u003e&quot;,&quot;trackPlayed&quot;:&quot;\u003cstring\u003e&quot;,&quot;trackUnplayed&quot;:&quot;\u003cstring\u003e&quot;,&quot;trackBackground&quot;:&quot;\u003cstring\u003e&quot;,&quot;backgroundTop&quot;:&quot;\u003cstring\u003e&quot;,&quot;backgroundBottom&quot;:&quot;\u003cstring\u003e&quot;,&quot;backgroundText&quot;:&quot;\u003cstring\u003e&quot;,&quot;enableApi&quot;:&quot;\u003cboolean\u003e&quot;,&quot;enableControls&quot;:&quot;\u003cboolean\u003e&quot;,&quot;forceAutoplay&quot;:&quot;\u003cboolean\u003e&quot;,&quot;hideTitle&quot;:&quot;\u003cboolean\u003e&quot;,&quot;forceLoop&quot;:&quot;\u003cboolean\u003e&quot;,&quot;createdAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;updatedAt&quot;:&quot;\u003cdateTime\u003e&quot;,&quot;assets&quot;:{&quot;logo&quot;:&quot;\u003cstring\u003e&quot;,&quot;link&quot;:&quot;\u003cstring\u003e&quot;}}