Replace Pod

replace_pod

Marks an ad for replacement.

Request body parameters are described below.

Request ParameterTypeDescription
duration RequiredFloatDefines the length of the ad break in seconds.
metaDictionaryAssigns the specified metadata to the asset. Use the Asset Info API to access an asset's metadata.
offset_from_now_msIntegerRequires Live Slicer version 17061500 or higher. Identifies a time relative to now (local system time), in milliseconds, when an operation will take effect.
offset_time_msIntegerIdentifies a time relative to the start of the current asset, in milliseconds, when an operation will take effect.
start_timecodeStringIdentifies the video frame at which this operation will take effect.

Sample request:

POST /replace_pod HTTP/1.1

{
	"start_timecode": "00:15:21;09",
	"duration": 213.32
}