This function returns the contents of a dynamicui
file. For more
information, read our
Guide to WHM dynamicui Files
documentation.
applications_list | string A comma-separated list of the application entries to return. To determine the application's name, find its
If you do not specify this value, the function returns the entire Example: applications_list=create_support_ticket |
file | string Default: "dynamicui.conf" The Example: file=dynamicui.conf |
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_available_applications
{- "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": "mysql",
- "subitems": [
- {
- "acl": null,
- "breadcrumb": null,
- "dnsonly_ok": null,
- "file": null,
- "group": null,
- "itemdesc": null,
- "key": null,
- "parent": null,
- "searchtext": null,
- "target": null,
- "type": null,
- "url": null
}
], - "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
}
}