Add equivalent cPanel v2 API calls into UAPI
As a System Administrator, I would like to see all cPanel V2 API calls that don't have UAPI equivalents added as UAPI functions, so that it's clear what is and will be supported now and in the future, and to prevent APIs from suddenly breaking at some point.
Every time I ask a question about a cPanel V2 API function, I'm told they are deprecated and shouldn't be used. But when when I've relied on them for years and there are no ways to get the same data or functionality with UAPI or WHM1, I'm left with no choice.
Recently a couple cPanel V2 API calls were removed without warning or even mention in the change log. So I live in fear that others will follow.
I realize there won't always be a 1-to-1 equivalent function, but if the docs for cPanel V2 could be kept up to date with info about which UAPI funcs to look into, that would help a lot. I know some do have this, but some isn't as complete or accurate as it should be. For example the functions that list domains such as SubDomain::listsubdomains says to use DomainInfo::list_domains, but that doesn't return the same information.
For me personally, these are the API calls I use that don't have equivalents, but I'm sure other admins use other depricated API calls.
AddonDomain::addaddondomain
AddonDomain::deladdondomain
AddonDomain::listaddondomains
Park::listparkeddomains
Park::park
Park::unpark
SubDomain::delsubdomain
SubDomain::listsubdomains
Backups::listfullbackups
Cron::add_line
Cron::edit_line
Cron::fetchcron
Cron::remove_line
Cron::set_email
CustInfo::savecontactinfo
MysqlFE::gethosts
Replies have been locked on this page!