Logo
api.video's Public API Documentation

Upload a thumbnail

POST {{baseUrl}}/live-streams/:liveStreamId/thumbnail

Upload the thumbnail for the livestream.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status Created

{ "liveStreamId": "<string>", "restreams": [ { "name": "<string>", "serverUrl": "<string>", "streamKey": "<string>" }, { "name": "<string>", "serverUrl": "<string>", "streamKey": "<string>" } ], "name": "<string>", "streamKey": "<string>", "public": "<boolean>", "assets": { "hls": "<uri>", "iframe": "<string>", "player": "<uri>", "thumbnail": "<uri>" }, "playerId": "<string>", "broadcasting": "<boolean>", "createdAt": "<dateTime>", "updatedAt": "<dateTime>" }



Curl
curl -X POST 'https://ws.api.video/live-streams/:liveStreamId/thumbnail' -H 'Content-Type: multipart/form-data' -H 'Accept: application/json' -F '{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}='

ENDPOINTS