Archive for the tag 'XML'

cPanel Version 11.25 XML API Functions

Version 11.25 adds 16 new XML API functions to better integrate cPanel/WHM with custom software.

New API functions:

View information about a domain
Add a DNS zone record
Edit a DNS zone record
View all DNS zone records for a domain
Remove a DNS zone record
Reset a DNS zone record to the settings found in httpd.conf
Assign a reseller IP addresses
Set reseller limits
Set a reseller’s main IP address
Define reseller packages
Suspend a reseller’s account
Unsuspend a reseller’s account
View information about a reseller’s accounts
Define a reseller’s nameservers
Configure a service
Change the IP address of a domain

SBDavid

cPanel XML and JSON APIs

cPanel XML and JSON APIs

cPanel XML API allows you to issue commands to cPanel and WHM using the XML language, while JSON API allows you to submit requests to the system and receive a JSON response. By including these commands in your custom scripts, you can perform functions remotely, without having to access the cPanel or WHM user interface.

There are several possible applications of the XML and JSON APIs. For example, they can make managing a data center easy by allowing you to issue a single command across multiple servers.

The JSON API is much less resource-intensive than the XML API. cPanel highly recommend using the JSON API, especially if performance is important, since it provides much faster results.

Reference: http://cpanel.net