transcode/profile/$profile_id

03Nov2009

Update a transcode profile

With this call you can updatre a transcode profile.

Request URL

/transcode/profile/{profile_id} [POST]

Request parameters

Parameter

Type

Description

Method

Obligatory/Optional

replace

bool

'TRUE' or 'FALSE'. Default is 'TRUE'. Define 'FALSE' if you want to adjust only just a few parameters, and 'TRUE', if you want to overwrite all.

POST

optional

name

string

the unique name of the profile

POST

optional; required, if the replace = 'TRUE'

tool

string

the tool that is used on this profile (e.g. ffmpeg)

POST

optional; required, if the replace = 'TRUE'

default

'true' or 'false'

specify TRUE or FALSE for making this profile default (only allowed on global profiles)

POST

optional; required, if the replace = 'TRUE'

version

integer

the version of the profile

POST

optional; required, if the replace = 'TRUE'

command

string

the command options for the used tool

POST

optional; required, if the replace = 'TRUE'

file_extension

string

use on extension (e.g. flv)

POST

optional; required, if the replace = 'TRUE'

Example request URL

/transcode/profile/14

name=test&file_extension=flv

Example response

<items>
<item id="1">
<profile_id>14</profile_id>
</item>
</items>

Response fields

Field

Description

profile_id

numeric id of an profile