v1
latestOpenAPI 3.1.02026-07-24251250397.8 KBlive events
Create a VOD asset by clipping an event
Create a video on demand (VOD) asset by clipping the event with event_id. The beginning and end times of the clip must be specified in the payload. The new VOD asset inherits tags and custom parameters from the channel.
put/v2/sites/{site_id}/channels/{channel_id}/events/{event_id}/clip/
Path parameters
site_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the site
channel_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the live channel
event_idstring required
Unique identifier for a resource
Example:Ny05CEfj
Unique alphanumeric ID of the live event
Headers
Jw-Dry-Runboolean
Set the Jw-Dry-Run header to true if you want to validate your payload, but do not want the server to actually store the changes.
Request body
Example request
{
"metadata": {
"trim_in_point": "03:02:45.106",
"trim_out_point": "03:02:45.106"
}
}Response
Clip request for VOD asset was successful.
Example response
{
"media_id": "Ny05CEfj"
}