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

Parameters

If status is "no input" / "planned" / "passed", then editable fields are

Name

Sub-array nameSub-sub-array name

Type

Value

Required

id

Integer
Yes

name



String


No
description

String
No
stream_id

Integer
No
manifest_id

Integer
No
continuous

Integer1 | 0No
start_margin

Integer
No
end_margin

Integer
No
autodelete

Integer1 | 0No
delete_after

Integer(Hours)No
default_duration

Integer30 | 60 | 120 | 240No
ads

Array (of {ad}s)
No




{ad}

0
Array
No


urlString
Yes

typeStringpre | mid | postYes

offsetStringif mid (%dd or time hh:mm:ss)Yes


If status is "completed", then editable fields are

Name

Sub-array nameSub-sub-array name

Type

Value

Required

id

Integer
Yes

name



String


No
description

String
No
autodelete

Integer1 | 0No
delete_after

Integer
No
ads

Array (of {ad}s)
No



{ad}
0
Array
No


urlString
Yes

typeStringpre | mid | postYes

offsetStringif mid (%dd or time hh:mm:ss)Yes


If status is "recording", then editable fields are

Name

Sub-array nameSub-sub-array name

Type

Value

Required

id

Integer
Yes

name



String


No
description

String
No
continuous

Integer1 / 0No
end_time

Integer
No
end_margin

Integer
No
autodelete

Integer1 / 0No
delete_after

Integer
No
ads

Array (of {ad}s)
No


{ad}
0
Array
No

urlString
Yes

typeStringpre | mid | postYes

offsetStringif mid (%dd or time hh:mm:ss)Yes

Examples

$data = array('object' => 'record', 'action' => 'update',

"parameters" => array(

        'id' => 12,

'name' => 'name',

'description' => 'description text',

'stream_id' => '28394',

'manifest_id' => '111'

'continuous' => '0',

'start_time' => '2016-05-24 20:00:00',

'end_time' => '2016-06-24 20:00:00',

'start_margin' => '10',

'end_margin' = '5',

'autodelete' = '0',

'delete_after' = '4'

'default_duration' => '60'

);

Response


Response FieldsTypeSample ValueComment
statusCode
Integer00 - Success
statusMessage
String"updated"Error or confirmation message
data
Array
Array of response data

idInteger
id of the updated record



  • No labels