Asset Reprocessing

Content reprocessing allows you to insert ad breaks to an existing Uplynk asset. Specifically, open an asset; create, read, update, and delete ad breaks; and save as a new asset.

Request

Request syntax:

POST /assets/{asset_id}/reprocess

Define the following variable when submitting the above request:

VariableDescription
asset_id RequiredThe ID of the asset to reprocess.

Request body:

Define a schedule entry through the following properties:

NameData TypeDescription
insert_breaks RequiredIntegerArray of new ad break offsets in milliseconds.
preserve_breaksIntegerArray of ad break indexes to keep.
descriptionStringTitle of the new asset.
start_urlStringWebhook URL to ping when the job begins.
done_urlStringWebhook URL to ping when the job completes.
fail_urlStringWebhook URL to ping if the job fails.
external_idStringSets the asset's External ID.

Sample Request

{
    "insert_breaks": [
        10000,
        20000
    ],
    "preserve_breaks": [
        0,
        1
    ],
    "description": "My new asset",
    "start_url": "https://example.com",
    "done_url": "https://example.com",
    "fail_url": "https://example.com",
    "external_id": "my unique value"
}