GetPreset

This request returns a named preset's details.

Request:

<?xml version="1.0"?>
<query>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <action>GetPreset</action>
    <name>[PresetName]</name> <!-- REQUIRED -->
    <type>[all|user|ui]</type> <!-- Optional -->
</query>
{
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "GetPreset",
        "name": "[PresetName]",
        "type": "[all|user|ui]"
    }
}

Field Name

Description

Allowed Values

Default Values

name

Preset name

String

type

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]"
    }
}