latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Packages
Feature Lists

Return dynamicui file

This function returns the contents of a dynamicui file. For more information, read our Guide to WHM dynamicui Files documentation.

get/get_available_applications

Query parameters

applications_liststring
Example:create_support_ticket

A comma-separated list of the application entries to return.

To determine the application's name, find its file value in the dynamicui.conf file, and then remove the file extension.

If you do not specify this value, the function returns the entire dynamicui.conf file.

filestring
Example:dynamicui.conf

The dynamicui configuration file to retrieve, relative to the /usr/local/cpanel/whostmgr/docroot/themes/x/ directory.

Response

HTTP Request was successful.

Example response

{
  "data": {
    "groups": [
      {
        "acl": "ACL=all",
        "dnsonly_ok": "dns",
        "file": "feature_name.png",
        "group": "group_name",
        "groupdesc": "$LANG{'Group Name'}",
        "grouporder": 1,
        "imgtype": "icon",
        "items": [
          {
            "acl": "ACL=all",
            "description": "View and manage reseller accounts on your server. Resellers manage other [asis,cPanel] accounts and can access [asis,cPanel].",
            "dnsonly_ok": "dns",
            "file": "feature_name.png",
            "group": "group_name",
            "imgtype": "icon",
            "itemdesc": "$LANG{'Feature Name'}",
            "itemorder": 1,
            "key": "feature_name",
            "minimum_accounts_needed": 2,
            "multiuser_required": 1,
            "role": {
              "match": "any",
              "roles": [
                "MailLocal",
                "MailSend"
              ]
            },
            "searchtext": "search keywords",
            "service": {
              "match": "any",
              "services": [
                "mysql",
                "ftp"
              ]
            },
            "subitems": [
              {
                "acl": "ACL=all",
                "breadcrumb": "/example_plugin/feature_name",
                "dnsonly_ok": "dns",
                "file": "feature_name.png",
                "group": "group_name",
                "itemdesc": "$LANG{'Feature Name'}",
                "key": "feature_name",
                "parent": 1,
                "searchtext": "search keywords",
                "target": "_blank",
                "type": "subitem",
                "url": "/example_plugin/feature_name"
              }
            ],
            "subtype": "img",
            "target": "_blank",
            "type": "image",
            "url": "/example_plugin/feature_name"
          }
        ],
        "key": "feature_name",
        "searchtext": "search keywords",
        "subtype": "img",
        "target": "_blank",
        "type": "group"
      }
    ],
    "raw": [
      {
        "itemdesc": "[% PROCESS 'menu/plugins_list.tmpl' target='mainFrame' -%]",
        "type": "raw"
      }
    ]
  },
  "metadata": {
    "command": "get_available_applications",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}