Page tree
Skip to end of metadata
Go to start of metadata

Parameters

Name

Type

Value

Required

item_idInteger
Yes
startString(00:00:00 format)
Yes
endString(00:00:00 format)
Yes
typeStringnew | existingYes
titleString
No

Title parameter can only be used if type is 'new'.


Warning! The video will be trimmed on I-frames and the length may slightly differ from specified.

Example

$data = array('object' => 'record', 'action' => 'trim',
    'parameters' => array(
        "item_id" => 197308,
        "start" => "00:01:00",
        "end" => "00:02:00",
        "type" => "new",
        "title" => "API Trim"
    )
);

Response

Response FieldsTypeSample ValueComment
statusCode
Integer00 - Success
statusMessage
String"Created trimming process for record and created new record asset"Error or confirmation message
data
Array
Array of response data

idInteger247id of the newly created record OR the record that was trimmed(If type is existing)
  • No labels