Upload a thumbnail
POST
/live-streams/{liveStreamId}/thumbnail
Live
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://ws.api.video/live-streams/vi4k0jvEUuaTdRAEjQ4Jfrgz/thumbnail' \
--form 'file=@""'
Response Response Example
201 - Example 1
{
"assets": {
"hls": "https://live.api.video/li4pqNqGUkhKfWcBGpZVLRY5.m3u8",
"iframe": "<iframe src=\\\"https://embed.api.video/live/li4pqNqGUkhKfWcBGpZVLRY5\\\" width=\\\"100%\\\" height=\\\"100%\\\" frameborder=\\\"0\\\" scrolling=\\\"no\\\" allowfullscreen=\\\"\\\"></iframe>",
"player": "https://embed.api.video/live/li400mYKSgQ6xs7taUeSaEKr",
"thumbnail": "https://cdn.api.video/live/li400mYKSgQ6xs7taUeSaEKr/thumbnail.jpg"
},
"broadcasting": true,
"liveStreamId": "li400mYKSgQ6xs7taUeSaEKr",
"name": "My Live Stream",
"playerId": "pl45d5vFFGrfdsdsd156dGhh",
"public": true,
"record": true,
"streamKey": "cc1b4df0-d1c5-4064-a8f9-9f0368385135"
}
Request
Path Params
liveStreamId
string
required
Example:
vi4k0jvEUuaTdRAEjQ4Jfrgz
Body Params multipart/form-data
file
file
required
Responses
Modified at 2023-08-15 05:52:15