Logo
api.video's Public API Documentation

Set a thumbnail

PATCH {{baseUrl}}/videos/:videoId/thumbnail

Set a thumbnail from a specific time interval within a video.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "videoId": "<string>", "createdAt": "<dateTime>", "title": "<string>", "description": "<string>", "publishedAt": "<dateTime>", "updatedAt": "<dateTime>", "tags": [ "<string>", "<string>" ], "metadata": [ { "key": "<string>", "value": "<string>" }, { "key": "<string>", "value": "<string>" } ], "source": { "uri": "<string>", "type": "<string>", "liveStream": { "liveStreamId": "<string>", "links": [ { "rel": "<string>", "uri": "<string>" }, { "rel": "<string>", "uri": "<string>" } ] } }, "assets": { "hls": "<uri>", "iframe": "<string>", "player": "<uri>", "thumbnail": "<uri>", "mp4": "<uri>" }, "playerId": "<string>", "public": "<boolean>", "panoramic": "<boolean>", "mp4Support": "<boolean>" }



Curl
curl -X PATCH 'https://ws.api.video/videos/:videoId/thumbnail' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"timecode":"09:94:42"}'

ENDPOINTS