- Created by Documentation, last modified on Dec 12, 2017
cPanel Tags
(deprecated)
Backups:: listfullbackups
BoxTrapper:: accountmanagelist
Branding:: addbrandingobj
Branding:: applist
Branding:: brandingeditor
Branding:: createpkg
Branding:: cssmerge
Branding:: delbrandingobj
Branding:: delpkg
Branding:: gensprites
Branding:: getbrandingpkg
Branding:: getbrandingpkgstatus
Branding:: getdefaultbrandingpkg
Branding:: installbrandingpkgs
Branding:: installimages
Branding:: killimgs
Branding:: listimgtypes
Branding:: listobjecttypes
Branding:: preloadconf
Branding:: resetall
Branding:: resetcss
Branding:: resethtml
Branding:: resolve_file
Branding:: resolvelocalcss
Branding:: savelocalcss
Branding:: setbrandingpkgstatus
Branding:: showpkgs
Branding:: spritelist
CSVImport:: columnchoices
CSVImport:: configimport
CSVImport:: data
CSVImport:: fetchimportdata
CSVImport:: isenabled
CSVImport:: loaddata
CSVImport:: processdata
CSVImport:: sendcontact
CSVImport:: uploadimport
Contactus:: isenabled
Contactus:: sendcontact
CustInfo:: contactemails
CustInfo:: contactprefs
CustInfo:: displaycontactinfo
CustInfo:: savecontactinfo
DenyIp:: listdenyips
DiskCounter:: disk_counter
DiskUsage:: buildcache
DiskUsage:: clearcache
DiskUsage:: fetch_raw_disk_usage
DiskUsage:: fetchdiskusage
DiskUsage:: fetchdiskusagewithextras
DnsLookup:: name2ip
DomainLookup:: countbaseddomains
DomainLookup:: getbasedomains
DomainLookup:: getdocroot
DomainLookup:: getdocroots
DomainLookup:: getmaindomain
Email:: accountname
Email:: adddomainforward
Email:: addforward
Email:: addmx
Email:: addpop
Email:: browseboxes
Email:: changemx
Email:: checkmaindiscard
Email:: clearpopcache
Email:: deletefilter
Email:: delforward
Email:: delmx
Email:: delpop
Email:: disablefilter
Email:: editquota
Email:: enablefilter
Email:: fetchautoresponder
Email:: fetchcharmaps
Email:: filteractions
Email:: filterlist
Email:: filtername
Email:: filterrules
Email:: get_archiving_configuration
Email:: get_archiving_default_configuration
Email:: get_archiving_types
Email:: get_default_email_quota
Email:: get_email_signing
Email:: get_max_email_quota
Email:: getabsbrowsedir
Email:: getalwaysaccept
Email:: getdiskusage
Email:: getmxcheck
Email:: has_delegated_mailman_lists
Email:: list_system_filter_info
Email:: listaliasbackups
Email:: listautoresponders
Email:: listdefaultaddresses
Email:: listdomainforwards
Email:: listfilterbackups
Email:: listfilters
Email:: listforwards
Email:: listlists
Email:: listmaildomains
Email:: listmx
Email:: listmxs
Email:: listpops
Email:: listpopssingle
Email:: listpopswithdisk
Email:: listpopswithimage
Email:: loadfilter
Email:: passwdpop
Email:: reorderfilters
Email:: set_archiving_configuration
Email:: set_archiving_default_configuration
Email:: set_email_signing
Email:: setalwaysaccept
Email:: setdefaultaddress
Email:: setmxcheck
Email:: storefilter
Email:: tracefilter
Fileman:: autocompletedir
Fileman:: fileop
Fileman:: getabsdir
Fileman:: getdir
Fileman:: getdiractions
Fileman:: getdiskinfo
Fileman:: getedittype
Fileman:: getfileactions
Fileman:: getpath
Fileman:: listfiles
Fileman:: mkdir
Fileman:: mkfile
Fileman:: savefile
Fileman:: search
Fileman:: statfiles
Fileman:: uploadfiles
Fileman:: viewfile
ForcePassword:: get_force_password_flags
ForcePassword:: update_force_password_flags
FSTest:: dirisempty
Ftp:: addftp
Ftp:: delftp
Ftp:: listftp
Ftp:: listftpsessions
Ftp:: listftpwithdisk
Ftp:: passwd
Ftp:: setquota
HttpUtils:: getdirindices
ImageManager:: thumbnail
LangMods:: getarchname
LangMods:: getkey
LangMods:: getprefix
LangMods:: install
LangMods:: langlist
LangMods:: list_available
LangMods:: list_installed
LangMods:: magic_status
LangMods:: pre_run
LangMods:: search
LangMods:: setup
LangMods:: uninstall
LangMods:: update
LeechProtect:: setup
Locale:: get_encoding
Locale:: get_html_dir_attr
Locale:: get_locale_name
Locale:: get_user_locale
Locale:: get_user_locale_name
Locale:: numf
Logaholic:: adduser
Logaholic:: adduserprofile
Logaholic:: deleteuser
Logaholic:: deleteuserprofile
Logaholic:: edituser
Logaholic:: fetchuser
Logaholic:: listuserprofiles
Logaholic:: logaholiclink
Logaholic:: processstats
LVEInfo:: getUsage
Mime:: list_hotlinks
Mime:: listhandlers
Mime:: listmime
Mime:: listredirects
Mime:: redirectname
Mime:: redirecturlname
MysqlFE:: authorizehost
MysqlFE:: changedbuserpassword
MysqlFE:: createdb
MysqlFE:: createdbuser
MysqlFE:: dbuserexists
MysqlFE:: deauthorizehost
MysqlFE:: deletedb
MysqlFE:: deletedbuser
MysqlFE:: getalldbsinfo
MysqlFE:: getalldbusersanddbs
MysqlFE:: getdbuserprivileges
MysqlFE:: getdbusers
MysqlFE:: gethosts
MysqlFE:: getmysqlprivileges
MysqlFE:: getmysqlserverprivileges
MysqlFE:: has_mycnf_for_cpuser
MysqlFE:: listdbs
MysqlFE:: listdbsbackup
MysqlFE:: listhosts
MysqlFE:: listusers
MysqlFE:: listusersindb
MysqlFE:: revokedbuserprivileges
MysqlFE:: setdbuserprivileges
MysqlFE:: userdbprivs
MysqlOptimizer:: fetch_slow_queries
Net:: dnszone
Net:: traceroute
Passwd:: change_password
Passwd:: set_digest_auth
PasswdStrength:: appstrengths
PasswdStrength:: get_password_strength
PasswdStrength:: get_required_strength
PHPINI:: getalloptions
PHPINI:: getoptions
Rand:: getranddata
Resellers:: get_sub_accounts
RoR:: addapp
RoR:: changeapp
RoR:: importrails
RoR:: listapps
RoR:: listrewrites
RoR:: needsimport
RoR:: removeapp
RoR:: removerewrite
RoR:: restartapp
RoR:: setuprewrite
RoR:: softrestartapp
RoR:: startapp
RoR:: stopapp
SetLang:: setlocale
SourceIPCheck:: addip
SourceIPCheck:: delip
SourceIPCheck:: getaccount
SourceIPCheck:: listips
SourceIPCheck:: loadsecquestions
SourceIPCheck:: resetsecquestions
SourceIPCheck:: samplequestions
SourceIPCheck:: savesecquestions
SPFUI:: available
SPFUI:: count_settings
SPFUI:: entries_complete
SPFUI:: get_raw_record
SPFUI:: getmainserverip
SPFUI:: install
SPFUI:: installed
SPFUI:: list_settings
SPFUI:: load_current_values
SPFUI:: uninstall
SSH:: authkey
SSH:: converttoppk
SSH:: delkey
SSH:: fetchkey
SSH:: genkey
SSH:: genkey_legacy
SSH:: importkey
SSH:: listkeys
SSL:: fetchcabundle
SSL:: fetchinfo
SSL:: gencrt
SSL:: gencsr
SSL:: genkey
SSL:: getcnname
SSL:: installssl
SSL:: listcrts
SSL:: listcsrs
SSL:: listkeys
SSL:: listsslitems
SSL:: uploadcrt
SSL:: uploadkey
SSLInfo:: fetchinfo
StatCache:: clearcache
Stats:: getmonthlybandwidth
Stats:: getmonthlydomainbandwidth
Stats:: getthismonthsbwusage
Stats:: lastapachehits
Stats:: lastvisitors
Stats:: listanalog
Stats:: listawstats
Stats:: listlastvisitors
Stats:: listrawlogs
Stats:: listurchin
Stats:: listwebalizer
SubDomain:: addsubdomain
SubDomain:: changedocroot
SubDomain:: delsubdomain
SubDomain:: getreservedsubdomains
SubDomain:: listsubdomains
SubDomain:: validregex
Themes:: apply_new_theme
Themes:: does_cpanel_theme_exist
Themes:: get_available_themes
Themes:: get_themes_list
Themes:: restore_saved_theme
UserHttpUtils:: getdirindices
WebDisk:: addwebdisk
WebDisk:: delwebdisk
WebDisk:: hasdigest
WebDisk:: listwebdisks
WebDisk:: passwdwebdisk
WebDisk:: set_digest_auth
WebDisk:: set_homedir
WebDisk:: set_perms
WebDisk:: setstatus
WebmailApps:: listwebmailapps
ZoneEdit:: add_zone_record
ZoneEdit:: edit_zone_record
ZoneEdit:: fetch_cpanel_generated_domains
ZoneEdit:: fetchzone
ZoneEdit:: fetchzone_records
ZoneEdit:: fetchzones
ZoneEdit:: get_zone_record
ZoneEdit:: remove_zone_record
ZoneEdit:: resetzone
Description
Important: Ruby on Rails does not function on Amazon Linux servers.dynamicui.conf
file.
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
Branding::get_application_information
— This function retrieves an application's information from thedynamicui.conf
file.
Note:
cPanel API 2's Branding
module only modifies data for the x3 theme. To customize the Paper Lantern theme, use UAPI functions. For more information, read our Guide to cPanel Interface Customization and Branding documentation.
Examples
https://hostname.example.com:2087/cpsess###########/json-api/cpanel?cpanel_jsonapi_user=user&cpanel_jsonapi_apiversion=2&cpanel_jsonapi_module=Branding&cpanel_jsonapi_func=applist
$cpanel = new CPANEL(); // Connect to cPanel - only do this once. // List items from the dynamicui.conf file. $list_dynamicui_items = $cpanel->api2( 'Branding', 'applist' );
my $cpliveapi = Cpanel::LiveAPI->new(); # Connect to cPanel - only do this once. # List items from the dynamicui.conf file. my $list_dynamicui_items = $cpliveapi->api2( 'Branding', 'applist', );
Warning:
In cPanel & WHM version 11.30 and later, cPanel tags are deprecated. We strongly recommend that you only use the LiveAPI system to call the cPanel APIs.
cPanel API 2 calls that use cPanel tags vary widely in code syntax and in their output. For more information, read our Deprecated cPanel Tag Usage documentation. Examples are only present in order to help developers move from the old cPanel tag system to our LiveAPI.
cpapi2 --user=username Branding applist
Notes:
- You must URI-encode values.
- username represents your account-level username.
- For more information and additional output options, read our Guide to cPanel API 2 documentation or run the
cpapi2 --help
command. - We introduced this functionality in cPanel & WHM version 56.
{ "cpanelresult": { "apiversion": 2, "func": "applist", "data": [ { "group": "pref", "desc": "Preferences", "items": [ { "width": "33", "itemorder": "1", "file": "getstart", "itemdesc": "Getting Started Wizard", "height": "32", "feature": "getstart", "subtype": "img", "group": "pref", "searchtext": "getting started wizard", "imgtype": "icon", "url": "getstarted/index.html", "type": "image" }, { "width": "33", "itemorder": "2", "file": "tutorials", "itemdesc": "Video Tutorials", "height": "32", "feature": "videotut", "acontent": "target="_blank"", "subtype": "img", "group": "pref", "searchtext": "tutorials video", "imgtype": "icon", "url": "tutorial.html", "type": "image" }, { "width": "32", "itemorder": "3", "file": "password", "itemdesc": "Change Password", "height": "32", "feature": "password", "subtype": "img", "group": "pref", "searchtext": "password change", "imgtype": "icon", "url": "passwd/index.html", "type": "image" }, { "width": "32", "itemorder": "4", "file": "updatecontact", "itemdesc": "Update Contact Information", "height": "32", "feature": "updatecontact", "subtype": "img", "group": "pref", "searchtext": "email", "imgtype": "icon", "url": "contact/index.html", "type": "image" }, { "width": "32", "itemorder": "5", "file": "branding", "itemdesc": "Branding Editor", "height": "32", "if": "$isreseller", "subtype": "img", "group": "pref", "searchtext": "skin style theme", "imgtype": "icon", "url": "resellers/branding/index.html", "type": "image" }, { "width": "32", "itemorder": "6", "file": "lookandfeel", "itemdesc": "Change Style", "height": "32", "feature": "style", "subtype": "img", "group": "pref", "searchtext": "skin theme", "imgtype": "icon", "url": "style/index.html", "type": "image" }, { "width": "32", "itemorder": "7", "file": "changelang", "itemdesc": "Change Language", "height": "32", "feature": "setlang", "subtype": "img", "group": "pref", "searchtext": "language setlang", "imgtype": "icon", "url": "setlang/index.html", "type": "image" }, { "width": "32", "itemorder": "8", "file": "favorites", "itemdesc": "Shortcuts", "height": "32", "feature": "setlang", "subtype": "img", "group": "pref", "searchtext": "bookmarks", "imgtype": "icon", "url": "shortcuts/index.html", "type": "image" }, { "width": "32", "itemorder": "17", "file": "sec_policy", "itemdesc": "Security Policy", "height": "32", "if": "$CONF{'SecurityPolicy::SourceIPCheck'}", "subtype": "img", "group": "pref", "searchtext": "ip access questions login password security", "imgtype": "icon", "url": "security/index.html", "type": "image" } ] }, { "group": "mail", "desc": "Mail", "items": [ { "width": "32", "itemorder": "1", "file": "manageaccounts", "itemdesc": "Email Accounts", "height": "32", "feature": "popaccts", "subtype": "img", "group": "mail", "searchtext": "pop imap smtp new account", "imgtype": "icon", "url": "mail/pops.html", "type": "image" }, { "width": "32", "itemorder": "2", "file": "webemail", "itemdesc": "Webmail", "height": "32", "feature": "webmail", "subtype": "img", "group": "mail", "searchtext": "webmail", "imgtype": "icon", "url": "webmaillogin.html", "type": "image" }, { "width": "35", "itemorder": "3", "file": "boxtrapper", "itemdesc": "BoxTrapper", "height": "32", "if": "!$CONF{'skipboxtrapper'} $CPDATA{'FEATURE-BOXTRAPPER'}", "feature": "boxtrapper", "subtype": "img", "group": "mail", "searchtext": "boxtrapper filter", "imgtype": "icon", "url": "mail/boxtrapper.html", "type": "image", "module": "BoxTrapper" }, { "width": "46", "itemorder": "4", "file": "spamassassin", "itemdesc": "Apache SpamAssassinu2122", "height": "32", "if": "!$CONF{'skipspamassassin'} $CPDATA{'FEATURE-SPAMASSASSIN'}", "feature": "spamassassin", "subtype": "img", "group": "mail", "searchtext": "spamassassin apache spam email", "imgtype": "icon", "url": "mail/spam/spam.html", "type": "image" }, { "width": "32", "itemorder": "5", "file": "forwardersemail", "itemdesc": "Forwarders", "height": "32", "feature": "forwarders || emaildomainfwd", "subtype": "img", "group": "mail", "searchtext": "forwarders forward", "imgtype": "icon", "url": "mail/fwds.html", "type": "image" }, { "width": "32", "itemorder": "6", "file": "responder", "itemdesc": "Autoresponders", "height": "32", "feature": "autoresponders", "subtype": "img", "group": "mail", "searchtext": "autoresponder", "imgtype": "icon", "url": "mail/autores.html", "type": "image" }, { "width": "32", "itemorder": "7", "file": "defaultemailacct", "itemdesc": "Default Address", "height": "32", "feature": "defaultaddress", "subtype": "img", "group": "mail", "searchtext": "default address", "imgtype": "icon", "url": "mail/def.html", "type": "image" }, { "width": "32", "itemorder": "8", "file": "maillist", "itemdesc": "Mailing Lists", "height": "32", "if": "!$CONF{'skipmailman'}", "feature": "lists", "subtype": "img", "group": "mail", "searchtext": "mailman mailing lists", "imgtype": "icon", "url": "mail/lists.html", "type": "image" }, { "width": "32", "itemorder": "9", "file": "dfiltering", "itemdesc": "Account-Level Filtering", "height": "32", "feature": "blockers", "subtype": "img", "group": "mail", "searchtext": "account level filtered", "imgtype": "icon", "url": "mail/filters/userfilters.html", "type": "image" }, { "width": "32", "itemorder": "10", "file": "userfiltering", "itemdesc": "User-Level Filtering", "height": "32", "feature": "blockers", "subtype": "img", "group": "mail", "searchtext": "user level filtered", "imgtype": "icon", "url": "mail/filters/managefilters.html", "type": "image" }, { "width": "32", "itemorder": "11", "file": "email-reports", "itemdesc": "Email Trace", "height": "32", "feature": "emailtrace", "subtype": "img", "group": "mail", "searchtext": "email mail delivery report", "imgtype": "icon", "url": "mail/route.html", "type": "image", "module": "EmailTrack" }, { "width": "35", "itemorder": "12", "file": "csvimport", "itemdesc": "Import Addresses and Forwarders", "height": "32", "feature": "csvimport", "subtype": "img", "group": "mail", "searchtext": "import mail csv xls", "imgtype": "icon", "url": "mail/csvimport.html", "type": "image", "module": "CSVImport" }, { "width": "32", "itemorder": "13", "file": "emailauth", "itemdesc": "Email Authentication", "height": "32", "feature": "emailauth", "subtype": "img", "group": "mail", "searchtext": "spf domain-keys authentication dkim", "imgtype": "icon", "url": "mail/auth.html", "type": "image" }, { "width": "32", "itemorder": "14", "file": "emailmx", "itemdesc": "MX Entry", "height": "32", "feature": "changemx", "subtype": "img", "group": "mail", "searchtext": "entry mx dns", "imgtype": "icon", "url": "mail/mx.html", "type": "image" }, { "width": "32", "itemorder": "18", "file": "emailarch", "itemdesc": "Email Archiving", "height": "32", "if": "$CONF{'emailarchive'}", "feature": "emailarchive", "subtype": "img", "group": "mail", "searchtext": "email archive emailarch", "imgtype": "icon", "url": "mail/archive.html", "type": "image" } ] }, { "group": "files", "desc": "Files", "items": [ { "width": "32", "itemorder": "1", "file": "hd", "itemdesc": "Backups", "height": "32", "feature": "backup", "subtype": "img", "group": "files", "searchtext": "backup restore", "imgtype": "icon", "url": "backup/index.html", "type": "image" }, { "width": "45", "itemorder": "2", "file": "backup-wizard", "itemdesc": "Backup Wizard", "height": "32", "feature": "backup", "subtype": "img", "group": "files", "searchtext": "backup wizard restore", "imgtype": "icon", "url": "backup/wizard.html", "type": "image" }, { "width": "32", "itemorder": "3", "file": "filemanager", "itemdesc": "File Manager", "height": "32", "feature": "filemanager", "acontent": "target="_blank"", "subtype": "img", "group": "files", "searchtext": "file manager file-manager", "imgtype": "icon", "url": "filemanager/index.html?showhidden=1&dir=/public_html", "onclick": "show_optionselect('filemanager'); return false;", "type": "image" }, { "width": "32", "itemorder": "4", "file": "legacy_filemanager", "itemdesc": "Legacy File Manager", "height": "32", "feature": "filemanager", "acontent": "target="_blank"", "subtype": "img", "group": "files", "searchtext": "file manager file-manager", "imgtype": "icon", "url": "files/index.html?showhidden=1&dir=/public_html", "onclick": "show_optionselect('files'); return false;", "type": "image" }, { "width": "32", "itemorder": "5", "file": "hdspace", "itemdesc": "Disk Space Usage", "height": "32", "feature": "diskusageviewer", "subtype": "img", "group": "files", "searchtext": "d space usage disk-usage", "imgtype": "icon", "url": "diskusage/index.html", "type": "image" }, { "width": "32", "itemorder": "6", "file": "webdav", "itemdesc": "Web Disk", "height": "32", "feature": "webdisk", "subtype": "img", "group": "files", "searchtext": "webdav webdisk web disk", "imgtype": "icon", "url": "webdav/accounts_webdav.html", "type": "image" }, { "width": "32", "itemorder": "7", "file": "ftpaccounts", "itemdesc": "FTP Accounts", "height": "32", "feature": "ftpaccts", "subtype": "img", "group": "files", "searchtext": "ftp create account", "imgtype": "icon", "url": "ftp/accounts.html", "touch": "ftp", "type": "image" }, { "width": "32", "itemorder": "8", "file": "ftpcontrol", "itemdesc": "FTP Session Control", "height": "32", "feature": "ftpaccts", "subtype": "img", "group": "files", "searchtext": "ftp session accounts", "imgtype": "icon", "url": "ftp/session.html", "touch": "ftp", "type": "image" }, { "width": "32", "itemorder": "9", "file": "anonymousmsg", "itemdesc": "Anonymous FTP", "height": "32", "if": "$hasanonftp", "feature": "ftpaccts", "subtype": "img", "group": "files", "searchtext": "anonymous ftp", "imgtype": "icon", "url": "ftp/anonymous.html", "touch": "ftp", "type": "image" } ] }, { "group": "logs", "desc": "Logs", "items": [ { "width": "32", "itemorder": "1", "file": "latestvisitors", "itemdesc": "Latest Visitors", "height": "32", "feature": "lastvisits", "subtype": "img", "group": "logs", "searchtext": "latest visitors", "imgtype": "icon", "url": "stats/lastvisitors_landing.html", "type": "image" }, { "width": "32", "itemorder": "2", "file": "networkmonitor", "itemdesc": "Bandwidth", "height": "32", "feature": "bandwidth", "subtype": "img", "group": "logs", "searchtext": "bandmin transfer", "imgtype": "icon", "url": "stats/bandwidth.html", "type": "image" }, { "width": "32", "itemorder": "4", "file": "webalizerlog", "itemdesc": "Webalizer", "height": "32", "if": "!$CONF{'skipwebalizer'} $CPDATA{'FEATURE-WEBALIZER'}", "feature": "webalizer", "subtype": "img", "group": "logs", "searchtext": "webalizer <abbr title="statistics">stats</abbr>", "imgtype": "icon", "url": "stats/webalizer_landing.html", "type": "image" }, { "width": "32", "itemorder": "5", "file": "webalizerftp", "itemdesc": "Webalizer FTP", "height": "32", "if": "!$CONF{'skipwebalizer'} $CPDATA{'FEATURE-WEBALIZER'}", "feature": "webalizer", "subtype": "img", "group": "logs", "searchtext": "webalizer <abbr title="statistics">stats</abbr> ftp", "imgtype": "icon", "url": "stats/webalizerftp_landing.html", "touch": "ftp", "type": "image" }, { "_empty_": null, "width": "32", "itemorder": "6", "file": "rawaccesslogs", "itemdesc": "Raw Access Logs", "height": "32", "feature": "rawlog", "group": "logs", "subtype": "img", "searchtext": "rawlogs logs access", "imgtype": "icon", "url": "raw/index.html", "type": "image" }, { "width": "32", "itemorder": "7", "file": "analogstats", "itemdesc": "Analog Stats", "height": "32", "if": "!$CONF{'skipanalog'} $CPDATA{'FEATURE-ANALOG'}", "feature": "analog", "subtype": "img", "group": "logs", "searchtext": "analog <abbr title="statistics">stats</abbr>", "imgtype": "icon", "url": "stats/analog_landing.html", "type": "image" }, { "width": "32", "itemorder": "8", "file": "errorlogs", "itemdesc": "Error Log", "height": "32", "feature": "errlog", "subtype": "img", "group": "logs", "searchtext": "errorlog error_log error log", "imgtype": "icon", "url": "stats/errlog.html", "type": "image" }, { "width": "32", "itemorder": "9", "file": "chooselog", "itemdesc": "Choose Log Programs", "height": "32", "if": "$any_stats_enabled", "feature": "statselect", "subtype": "img", "group": "logs", "searchtext": "<abbr title="statistics">stats</abbr> manager", "imgtype": "icon", "url": "statmanager/index.html", "type": "image" }, { "width": "32", "itemorder": "20", "file": "awstats", "itemdesc": "AWStats", "height": "32", "if": "!$CONF{'skipawstats'} $CPDATA{'FEATURE-AWSTATS'}", "feature": "awstats", "subtype": "img", "group": "logs", "searchtext": "awstats", "imgtype": "icon", "url": "stats/awstats_landing.html", "type": "image" } ] }, { "group": "sec", "desc": "Security", "items": [ { "width": "32", "itemorder": "1", "file": "password-protect", "itemdesc": "Password Protect Directories", "height": "32", "feature": "webprotect", "subtype": "img", "group": "sec", "searchtext": "password protect protect password", "imgtype": "icon", "url": "htaccess/index.html", "onclick": "show_optionselect('password-protect'); return false;", "type": "image" }, { "width": "32", "itemorder": "2", "file": "ipdeny", "itemdesc": "IP Address Deny Manager", "height": "32", "feature": "ipdeny", "subtype": "img", "group": "sec", "searchtext": "deny block", "imgtype": "icon", "url": "denyip/index.html", "type": "image" }, { "width": "32", "itemorder": "3", "file": "ssl-manager", "itemdesc": "SSL/TLS Manager", "height": "32", "feature": "sslmanager", "subtype": "img", "group": "sec", "searchtext": "certificate key csr", "imgtype": "icon", "url": "ssl/index.html", "type": "image" }, { "width": "37", "itemorder": "4", "file": "ssh-shell-access", "itemdesc": "SSH Shell Access", "height": "32", "feature": "ssh", "subtype": "img", "group": "sec", "searchtext": "ssh secure shell sftp", "imgtype": "icon", "url": "telnet/index.html", "type": "image" }, { "width": "32", "itemorder": "5", "file": "hotlinkprotect", "itemdesc": "HotLink Protection", "height": "32", "feature": "hotlink", "subtype": "img", "group": "sec", "searchtext": "protection", "imgtype": "icon", "url": "mime/hotlink.html", "type": "image" }, { "width": "32", "itemorder": "6", "file": "leechprotect", "itemdesc": "Leech Protect", "height": "32", "feature": "cpanelpro_leechprotect && webprotect", "subtype": "img", "group": "sec", "searchtext": "leech protect", "imgtype": "icon", "url": "htaccess/leechprotect/leechprotect.html", "onclick": "show_optionselect('leechprotect'); return false;", "type": "image", "module": "LeechProtect" }, { "width": "32", "itemorder": "7", "file": "keys", "itemdesc": "GnuPG Keys", "height": "32", "feature": "pgp", "subtype": "img", "group": "sec", "searchtext": "gpg keys", "imgtype": "icon", "url": "gpg/index.html", "type": "image" } ] }, { "group": "domains", "desc": "Domains", "items": [ { "width": "43", "itemorder": "1", "file": "subdomains", "itemdesc": "Subdomains", "height": "32", "feature": "subdomains", "subtype": "img", "group": "domains", "searchtext": "domain", "imgtype": "icon", "url": "subdomain/index.html", "type": "image" }, { "width": "33", "itemorder": "2", "file": "addondomain", "itemdesc": "Addon Domains", "height": "32", "feature": "addondomains", "subtype": "img", "group": "domains", "searchtext": "domain", "imgtype": "icon", "url": "addon/index.html", "type": "image" }, { "width": "32", "itemorder": "3", "file": "parkeddomains", "itemdesc": "Parked Domains", "height": "32", "feature": "parkeddomains", "subtype": "img", "group": "domains", "searchtext": "domain", "imgtype": "icon", "url": "park/index.html", "type": "image" }, { "width": "33", "itemorder": "4", "file": "redirects", "itemdesc": "Redirects", "height": "32", "feature": "redirects", "subtype": "img", "group": "domains", "searchtext": "rewrite modrewrite", "imgtype": "icon", "url": "mime/redirect.html", "type": "image" }, { "width": "32", "itemorder": "10", "file": "simplezoneedit", "itemdesc": "Simple DNS Zone Editor", "height": "32", "feature": "simplezoneedit", "subtype": "img", "group": "domains", "searchtext": "DNS zone CNAME TTL", "imgtype": "icon", "url": "zoneedit/simple.html", "type": "image" }, { "width": "32", "itemorder": "11", "file": "zoneedit", "itemdesc": "Advanced DNS Zone Editor", "height": "32", "feature": "zoneedit", "subtype": "img", "group": "domains", "searchtext": "DNS zone CNAME TTL", "imgtype": "icon", "url": "zoneedit/advanced.html", "type": "image" } ] }, { "group": "db", "desc": "Databases", "items": [ { "width": "45", "itemorder": "1", "file": "mysql", "itemdesc": "MySQL Databases", "height": "31", "feature": "mysql", "subtype": "img", "group": "db", "searchtext": "mysql database", "imgtype": "icon", "url": "sql/index.html", "type": "image" }, { "width": "45", "itemorder": "2", "file": "mysql-wizard3", "itemdesc": "MySQL Database Wizard", "height": "31", "feature": "mysql", "subtype": "img", "group": "db", "searchtext": "mysql database", "imgtype": "icon", "url": "sql/wizard1.html", "type": "image" }, { "width": "45", "itemorder": "3", "file": "phpMyAdmin", "itemdesc": "phpMyAdmin", "height": "34", "feature": "phpmyadmin", "acontent": "target="_blank"", "subtype": "img", "group": "db", "searchtext": "mysql database", "imgtype": "icon", "url": "sql/PhpMyAdmin.html", "type": "image" }, { "width": "45", "itemorder": "4", "file": "mysql-remoteaccess", "itemdesc": "Remote MySQL", "height": "31", "feature": "mysql", "subtype": "img", "group": "db", "searchtext": "remote mysql", "imgtype": "icon", "url": "sql/managehost.html", "type": "image" } ] }, { "group": "software", "desc": "Software and Services", "items": [ { "width": "32", "itemorder": "1", "file": "cgi-center", "itemdesc": "CGI Center", "height": "32", "feature": "cgi", "subtype": "img", "group": "software", "searchtext": "cgi", "imgtype": "icon", "url": "cgi/index.html", "type": "image" }, { "width": "32", "itemorder": "2", "file": "scripts-library", "itemdesc": "Site Software", "height": "32", "feature": "addoncgi", "subtype": "img", "group": "software", "searchtext": "addons software", "imgtype": "icon", "url": "addoncgi/cpaddons.html", "type": "image" }, { "width": "32", "itemorder": "4", "file": "perl", "itemdesc": "Perl Modules", "height": "32", "if": "$hasperl", "feature": "modules-perl", "subtype": "img", "group": "software", "searchtext": "module perl", "imgtype": "icon", "url": "module_installers/index.html?lang=perl", "type": "image" }, { "width": "32", "itemorder": "5", "file": "php-pear", "itemdesc": "PHP PEAR Packages", "height": "32", "if": "$haspear", "feature": "modules-php-pear", "subtype": "img", "group": "software", "searchtext": "php pear packages", "imgtype": "icon", "url": "module_installers/index.html?lang=php-pear", "type": "image" }, { "width": "32", "itemorder": "6", "file": "php", "itemdesc": "PHP Configuration", "height": "32", "feature": "php-config", "subtype": "img", "group": "software", "searchtext": "config configuration", "imgtype": "icon", "url": "php/index.html?lang", "type": "image" }, { "width": "32", "itemorder": "7", "file": "ruby", "itemdesc": "RubyGems", "height": "32", "if": "$hasgem", "feature": "modules-ruby", "subtype": "img", "group": "software", "searchtext": "ror ruby rails gems", "imgtype": "icon", "url": "module_installers/index.html?lang=ruby", "type": "image" }, { "width": "32", "itemorder": "8", "file": "rails", "itemdesc": "Ruby on Rails", "height": "32", "if": "$hasrails", "feature": "ror", "subtype": "img", "group": "software", "searchtext": "ruby rails gems", "imgtype": "icon", "url": "ror/index.html", "type": "image", "module": "RoR" } ] }, { "group": "advanced", "desc": "Advanced", "items": [ { "width": "45", "itemorder": "1", "file": "apache", "itemdesc": "Apache Handlers", "height": "30", "feature": "handlers", "subtype": "img", "group": "advanced", "searchtext": "apache handlers extension configure", "imgtype": "icon", "url": "mime/handle.html", "type": "image" }, { "width": "32", "itemorder": "4", "file": "image-manager", "itemdesc": "Image Manager", "height": "32", "feature": "cpanelpro_images", "subtype": "img", "group": "advanced", "searchtext": "image resize manager scaler thumbnailer format", "imgtype": "icon", "url": "cpanelpro/images.html", "type": "image", "module": "ImageManager" }, { "width": "32", "itemorder": "5", "file": "index", "itemdesc": "Index Manager", "height": "32", "feature": "indexmanager", "subtype": "img", "group": "advanced", "searchtext": "index manager", "imgtype": "icon", "url": "indexmanager/index.html", "onclick": "show_optionselect('index'); return false;", "type": "image" }, { "width": "32", "itemorder": "6", "file": "errorpage", "itemdesc": "Error Pages", "height": "32", "feature": "errpgs", "subtype": "img", "group": "advanced", "searchtext": "errorlog error_log error log", "imgtype": "icon", "url": "err/index.html", "type": "image" }, { "width": "32", "itemorder": "7", "file": "cron", "itemdesc": "Cron Jobs", "height": "32", "feature": "cron", "subtype": "img", "group": "advanced", "searchtext": "cronjob cron job tab edit", "imgtype": "icon", "url": "cron/index.html", "type": "image" }, { "width": "32", "itemorder": "8", "file": "nettools", "itemdesc": "Network Tools", "height": "32", "feature": "nettools", "subtype": "img", "group": "advanced", "searchtext": "traceroute tracert dns lookup dig", "imgtype": "icon", "url": "net/index.html", "type": "image" }, { "width": "32", "itemorder": "12", "file": "mime-types", "itemdesc": "MIME Types", "height": "32", "feature": "mime", "subtype": "img", "group": "advanced", "searchtext": "mime mimetype types", "imgtype": "icon", "url": "mime/mime.html", "type": "image" }, { "width": "45", "itemorder": "13", "file": "whm", "itemdesc": "WebHost Manager", "height": "32", "if": "$isreseller", "subtype": "img", "group": "advanced", "searchtext": "webhostmanager whm", "imgtype": "icon", "url": "/cpsess1176970725/xferwhm/", "type": "image" }, { "width": "32", "itemorder": "14", "file": "cpanelAPI", "height": "32", "itemdesc": "<abbr title="Application Programming Interface" class="initialism">API</abbr> Shell", "if": "$CONF{'api_shell'} && $isreseller", "feature": "api_shell", "group": "advanced", "subtype": "img", "imgtype": "icon", "url": "api_shell/index.html", "type": "image" } ] } ], "event": { "result": 1 }, "module": "Branding" } }
Note:
Use cPanel's API Shell interface (cPanel >> Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
Input | Type | Description | Possible values | Example |
---|---|---|---|---|
nvarglist | string | The order in which to return data. | A list of UI groups. Separate multiple group names with the pipe character ( | mail|file|domains|logs |
Returns
Note:
On servers that run CentOS 7, you may see a named
warning about the absence of SPF resource records on DNS.
- This warning is not relevant on CentOS 7 servers, because RFC 7208 deprecated SPF records. CentOS 7 servers use TXT records instead of SPF records.
- Red Hat 7.1 and CentOS 7.1 both contain
bind-9.9.4-23.el7
, which is an updated version of BIND that complies with RFC 7208. To resolve this issue, update your operating system to a version that contains the updated version of BIND. For more information, read the Red Hat Bugzilla case about SPF record errors.
Return | Type | Description | Possible values | Example |
---|---|---|---|---|
group | string | The UI group's name. | A string value. | pref |
desc | string | The UI group's display name. | A string value. | Preferences |
items | hash | A hash of information about the group's items. | This hash includes the width , itemorder , file , itemdesc , height , if , feature , subtype , group , searchtext , imgtype , url , and type returns. | |
| integer | The item's icon's width. The function returns this value in the | An integer that represents an image's width, in pixels. | 33 |
| integer | The item's display order. The function returns this value in the | An integer that represents the item's display order. For example, groups display the item that has an | 1 |
| string | The item's icon filename. The function returns this value in the | An image's filename. Note: This image must exist in the | getstart |
| string | The item's display name. The function returns this value in the | A string value.
| Getting Started Wizard |
| integer | The item's icon's height. The function returns this value in the | An integer that represents an image's height, in pixels. | 32 |
| string | Conditional arguments that determine whether to display the item, if any exist. The function returns this value in the | Conditional arguments that determine whether to display the item. For example, For more information, read our Guide to cPanel Variables documentation. | $isreseller |
| string | A feature name. The item will only display if the cPanel user has access to this feature. The function returns this value in the | A feature name. | getstart |
| string | The item's subtype. The function returns this value in the | img is the only possible value. | img |
| string | The item's group. The function returns this value in the | A string value. | pref |
| string | One or more search terms. The item will display when users enter these search terms in the Quick Find text box. The function returns this value in the | A space-separated list of search terms. | getting started wizard |
| string | The item's image type. The function returns this value in the | icon is the only possible value. | icon |
| string | The location to which the item's icon links. The function returns this value in the | A valid file path or URL. | getstarted/index.html |
| string | The item's type. The function returns this value in the | image is the only possible value. | image |
result | Boolean | Whether the function succeeded. |
| 1 |
Function information
Module:
Branding
API Version:
Available in:
cPanel 11+
Methods:
GET, POST
Required Parameters:
(none)
Return Formats:
JSON, XML
Notes:
- XML output is only available if you call this function from the WHM API.
- cPanel & WHM version 66 deprecated XML output.
Legacy Equivalents:
(none)
About this module
The Branding
module accesses cPanel's theming system.
About cPanel API 2
cPanel API 2 accesses and modifies data for cPanel accounts.
Notes:
- These functions may require a feature list. To view the available feature lists on a cPanel server, view WHM's Feature Manager interface.
- Unless you call this API via the WHM API, you must use the appropriate cPanel ports (
2082
or2083
). You can also call some functions via cPanel's Webmail ports (2095
or2096
).
Find a function
Related functions
-
Page:cPanel API 2 Modules - Branding — The
Branding
module accesses cPanel's theming system. -
Page:cPanel API 2 Functions - Branding::addbrandingobj — This function adds an item to the current
dynamicui.conf
file. -
Page:cPanel API 2 Functions - Branding::applist — This function lists icon information from the current
dynamicui.conf
file. -
Page:cPanel API 2 Functions - Branding::brandingeditor — This function updates objects in a branding package's
dynamicui.conf
file. -
Page:cPanel API 2 Functions - Branding::createpkg — This function creates a branding package's directory.