curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/hotspots/{HOTSPOT_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"show_at": "<string>",
"hide_at": "<string>",
"x": 123,
"y": 123,
"action": "link",
"link": "<string>",
"target": "_blank",
"opacity": "invisible"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"x": 25,
"y": 25,
"action": "link",
"link": "https://example.com",
"target": "_parent",
"opacity": "translucent"
},
"links": {},
"errors": []
}
Update a hotspot’s details
curl --request PATCH \
--url https://api.vidbeo.com/v2/videos/{VIDEO_ID}/hotspots/{HOTSPOT_ID} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "<string>",
"show_at": "<string>",
"hide_at": "<string>",
"x": 123,
"y": 123,
"action": "link",
"link": "<string>",
"target": "_blank",
"opacity": "invisible"
}'
{
"success": true,
"result": {
"id": "abcde12345abcde12345a",
"name": "Example",
"show_at": "00:00:05",
"hide_at": "00:00:05",
"x": 25,
"y": 25,
"action": "link",
"link": "https://example.com",
"target": "_parent",
"opacity": "translucent"
},
"links": {},
"errors": []
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
ID of the video
"abcde12345abcde12345a"
ID of the hotspot
"abcde12345abcde12345a"
Hotspot
The response is of type object
.