Skip to main content
Skip table of contents

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

CODE
curl -v -L -b cookie -c cookie -X \
  GET https://bc.qwe.com/mocana-app-control/rest/settings/browser-launcher-icon

Response

CODE
{
  "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

ParameterDescription
filenameOptional. 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.
PNGRequired. 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

CODE
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

CODE
curl -v -L -b cookie -c cookie -X DELETE https://bc.qwe.com/mocana-app-control/rest/settings/browser-launcher-icon
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.