.pdf)
WHM Plugins
getfeaturelist function from within your custom script:
/xml-api/getfeaturelist function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/xml-api/getfeaturelist
getfeaturelist function from within your custom script:
/json-api/getfeaturelist function call name, plus the required variables (see below), to a URL which includes the address of your server.
example.com, you would include the following string in your script: https://example.com:2087/json-api/getfeaturelist
getfeaturelist results container.
https://example.com:2087/xml-api/getfeaturelist
will produce output similar to:
<getfeaturelist>
<feature>
<name>Install Perl Modules</name>
<id>modules-perl</id>
</feature>
<feature>
<name>Install PHP Pear Modules</name>
<id>modules-php-pear</id>
</feature>
<feature>
<name>Agora Shopping Cart</name>
<id>agora</id>
</feature>
<feature>
<name>BoxTrapper Spam Trap</name>
<id>boxtrapper</id>
</feature>
<feature>
<name>Forwarder Manager</name>
<id>forwarders</id>
</feature>
<feature>
<name>Redirect Manager</name>
<id>redirects</id>
</feature>
<feature>
<name>Analog Stats</name>
<id>analog</id>
</feature>
<feature>
<name>Webalizer Stats</name>
<id>webalizer</id>
</feature>
<feature>
<name>Server Status Viewer</name>
<id>serverstatus</id>
</feature>
<feature>
<name>Email Filtering Manager</name>
<id>blockers</id>
</feature>
</getfeaturelist>
https://example.com:2087/json-api/getfeaturelist
will produce output similar to:
{
"feature":[
{
"id":"modules-perl",
"name":"Install Perl Modules"
},
{
"id":"modules-php-pear",
"name":"Install PHP Pear Modules"
},
{
"id":"agora",
"name":"Agora Shopping Cart"
},
{
"id":"boxtrapper",
"name":"BoxTrapper Spam Trap"
},
{
"id":"fantastico",
"name":"Fantastico"
}
]
}