This system provides a specific place for applications within the cPanel interface, which is methodical in providing one’s code to connect domestically with the cPanel binary, cpsrvd. It allows one to make cPanel API 1, cPanel API 2, and UAPI function calls via the socket.
Common components are administered by every LiveAPI to integrate with cPanel & WHM.
When the places are used by the authenticated user, it helps him in executing the functions. Because of this, calls can fail if the authenticated user does not have adequate permissions.
It is vital to notice that one cannot use the LiveAPI system to decide in approaching WHM API 0 or WHM API 1 functions.
One can note that cPanel & WHM version 11.28 and earlier used this LivePHP system providing similar functionality, but it was specific to the PHP programming language.
The LiveAPI system additionally supports the subsequent languages whenever cPanel does not offer any categories for them:
One will use CGI with the LiveAPI Perl module and for that, the user (root) should have their own CGI scripts, and the scripts must have 0755 file permissions.
We advocate the users to employ the Template Toolkit for Perl applications.
All information on the LiveAPI system is outlined in this article.