Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: -Prettying

Parameters

Name

Type

Value

Required

title
id
string
Integer
No

Yes
preset_id

title

integer
String
Yes

No
video_bitrate
integer
Integer
No
resolution
string
StringEx. 1920x1080No
video_framerate
integer
Integer
No
audio_bitrates
integer
Integer
No
audio_samplerate
integer
Integer
No
level
string
String
No
gop
integer
Integer
No
ord
integer
IntegerSequential order numberNo

Examples

$data = array('object' => 'preset', 'action' => 'updateitem', 'parameters' => array(
    'id' => 1060,
    'video_framerate' => '30'
    )
);

Response

{

   "statusCode":0,

   "statusMessage":"updated",

   "data":

   {

   "id": 57

   }

}

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

idInteger23id of the updated item