This function retrieves an application's information from a specific
theme's sitemap.json
file.
docroot required | string <path> The absolute path to the directory containing the Example: docroot=/usr/local/cpanel/base/webmail/jupiter |
app_keys | string A comma-separated list of Appkey names. If you do not
specify this parameter, the output will include all of the applications that the
Note: This value must match an application's Example: app_keys=email_filters |
uapi --output=jsonpretty \ --user=username \ Branding \ get_information_for_applications \ docroot='/usr/local/cpanel/base/webmail/jupiter'
{- "apiversion": 3,
- "func": "get_information_for_applications",
- "module": "Branding",
- "result": {
- "data": {
- "property1": {
- "condition": {
- "feature": "blockers",
- "if": "!$isarchiveuser",
- "module": "string"
}, - "description": "Email Filters",
- "icon": {
- "height": 32,
- "url": "email_filters",
- "width": 35
}, - "implements": "Email_UserLevelFiltering",
- "key": "email_filters",
- "name": "Email Filters",
- "order": 4,
- "terms": [
- "email",
- "filter",
- "filters"
], - "type": "item",
- "url": "mail/filters/userfilters.html"
}, - "property2": {
- "condition": {
- "feature": "blockers",
- "if": "!$isarchiveuser",
- "module": "string"
}, - "description": "Email Filters",
- "icon": {
- "height": 32,
- "url": "email_filters",
- "width": 35
}, - "implements": "Email_UserLevelFiltering",
- "key": "email_filters",
- "name": "Email Filters",
- "order": 4,
- "terms": [
- "email",
- "filter",
- "filters"
], - "type": "item",
- "url": "mail/filters/userfilters.html"
}
}, - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}