GetPresetsList

This request returns a list of available output presets. This list includes both default and customer-generated presets.

Request

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>GetPresetsList</action>
    <type>[all|user|ui]</type> <!-- Optional -->
</query>
{
    "query": {
        "userid": "[UserID]",
        "userkey": "[UserKey]",
        "action": "GetPresetsList",
        "type": "[all|user|ui]"
    }
}
ParameterDescriptionAllowed ValuesDefault Value
typeSpecify the preset type.all — all available presets
user — user’s custom presets
ui — predefined encoding’s presets
all

Response

<?xml version="1.0"?>
<response>
    <user>
        <preset>
            <name>[PresetName]</name>
            <type>user</type>
            <output>[PresetOutput]</output>
            <format>[Format Params]</format>
        </preset>
        <preset><!-- ... --></preset>
    </user>
    <ui>
        <preset>
            <name>[PresetName]</name>
            <type>ui</type>
            <output>[PresetOutput]</output>
            <format>[Format Params]</format>
        </preset>
        <preset><!-- ... --></preset>
    </ui>
</response>
{
    "response": {
        "user": {
            "preset": [
                {
                    "name": "[PresetName]",
                    "type": "user",
                    "output": "[PresetOutput]",
                    "format": "[Format Params]"
                }
            ]
        },
        "ui": {
            "preset": [
                {
                    "name": "[PresetName]",
                    "type": "ui",
                    "output": "[PresetOutput]",
                    "format": "[Format Params]"
                }
            ]
        }
    }
}
ParameterDescriptionAllowed ValuesDefault Value
nameSpecify the preset name.StringNone
typeSpecify the preset type.all — all available presets
user — user’s custom presets
ui — predefined encoding’s presets
all

Response

<?xml version="1.0"?>
<response>
    <name>[PresetName]</name>
    <type>[user|ui]</type>
    <output>[PresetOutput]</output>
    <format>[Format Params]</format>
</response>
{
    "response": {
        "name": "[PresetName]",
        "type": "[user|ui]",
        "output": "[PresetOutput]",
        "format": "[Format Params]"
    }
}