Skip to main content
Skip table of contents

profile/mocana-browser/{GUID}/json

An existing profile for the Compass Browser as a JSON object.

GET

Retrieves all the details of an existing profile for the Compass Browser in a JSON format. The browser profile contains this data:

  • Configured settings for the Compass Browser
  • Settings for each website, including the unique identifier for each site icon that is customized for each website

For a list of the available parameters for a browser profile and how to configure them, see Browser Configuration profiles (API).

Parameters

GUIDRequired. The GUID for the browser profile you want to archive. To find the GUIDs for all active profiles, use GET profile/catalog.
Parameter
Description

Example request

In this example, the request displays the JSON as a string:

Request

CODE
curl -v -L -b cookie -c cookie -X GET \
https://bc.qwe.com/mocana-app-control/rest/profile/mocana-browser/88608694-1f37-4087-bc01-9b1cef2c983a/json

Response

CODE
{
  "message": "",
  "profiles": {
    "data": {"profile_data": {
      "allow_bookmarks": true,
      "allow_email": true,
      "allow_history": true,
      "allow_search": true,
      "allow_url_entry": true,
      "app_schemes": [
        "bigtincanhub",
        "comgooglemaps"
      ],
      "home_page": "www.qwe.com",
      "launcher_icon_id": "784a3714-1f28-4e36-b056-2d664d8f522b",
      "sites": [
        {
          "allow_close": false,
          "icon_id": "d2447a21-3f5f-4ee5-9673-7067a494379d",
          "id": "fbe069b7-3642-4aee-87c5-7e95a31889e9",
          "name": "Stash",
          "sso_script": "",
          "sso_type": 0,
          "url": "https://stash.qwe.com/",
          "use_favicon": false
        },
        {
          "allow_close": false,
          "icon_id": "d3e79071-5bea-4a72-b2a3-e0e9770a3bbc",
          "id": "2a169d34-47de-408a-9776-ce49b7c4f3c6",
          "name": "Sharepoint",
          "sso_script": "",
          "sso_type": 0,
          "url": "https://sharepoint.qwe.com",
          "use_favicon": false
        }
      ],
      "theme_color": 4409159,
      "title": "Compass Browser"
    }},
    "profile_desc": "",
    "profile_name": "fauxcorp",
    "profile_type": "browser"
  },
  "status": "OK"
}


In this example, the request saves the JSON data into a file:

Request

CODE
curl -v -L -b cookie -c cookie -X GET \
https://bc.qwe.com/mocana-app-control/rest/profile/mocana-browser/88608694-1f37-4087-bc01-9b1cef2c983a/json \
-o "out/browser_intranet_sites.json"

Response

CODE
{ [data not shown]
100  1881    0  1881    0     0  45331      0 --:--:-- --:--:-- --:--:-- 47025 

The -o "out/browser_intranet_sites.json" option saves the output to a file. Without the -o option, cURL outputs the data to stdout.

 

JavaScript errors detected

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

If this problem persists, please contact our support.