settings/browser-launcher-icon
The default launcher icon for the Compass app, that is, the icon that appears on the device home screen.
To manage the default icon for the apps in the Compass App List (Launch Pad), see settings/website-icon.
GET
Retrieves the default launcher icon that Compass uses.
Example request
Request
curl -v -L -b cookie -c cookie -X \
GET https://bc.qwe.com/mocana-app-control/rest/settings/browser-launcher-icon
Response
{
"message": "",
"settings": [{
"blob_data": "https://bc.qwe.com/mocana-app-control/rest/files/30bd5d5d-8e0a-44c1-a223-c695eee7ff1c",
"blob_hash": "30bd5d5d-8e0a-44c1-a223-c695eee7ff1c",
"code": "OPT_CODE_BROWSER_ICON_DEFAULT",
"string_data": "58x58"
}],
"status": "OK"
}
POST
Uploads a binary file for the default launcher icon that Compass uses. This API call only accepts binaries in the PNG file format. It does not accept Apple's "crushed" PNG format.
Parameters
Parameter | Description |
---|---|
filename | Optional. The name of the default launcher icon for Compass. The name itself does not need to match the filename of the icon you want to upload. |
PNG | Required. The path and filename for the icon image file you want to use for the Compass launcher icon. For example, in cURL, use the --data-binary option to specify the file name. |
Example request
Request
curl -v -L -b cookie -c cookie \
-X POST https://bc.qwe.com/mocana-app-control/rest/settings/browser-launcher-icon?filename=SecureBrowser.png \
--data-binary @icons/SecureBrowser.png
DELETE
Removes the default launcher icon that Compass uses.
Example request
Request
curl -v -L -b cookie -c cookie -X DELETE https://bc.qwe.com/mocana-app-control/rest/settings/browser-launcher-icon