GetPreset

This request returns a named preset's details.

Request:

<?xml version="1.0"?>
<query>
    <userid>[UserID]</userid> <!-- required-->
    <userkey>[UserKey]</userkey> <!-- required-->
    <action>GetPreset</action>
    <name>[PresetName]</name> <!-- REQUIRED -->
    <type>[all|user|ui]</type> <!-- Optional -->
</query>
{
    "query": {
        "userid": "[UserID]",
        "userkey": "[UserKey]",
        "action": "GetPreset",
        "name": "[PresetName]",
        "type": "[all|user|ui]"
    }
}
Field NameDescriptionAllowed ValuesDefault Values
namePreset nameString-
typePreset typeall — 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]"
    }
}