Policy details by GUID.

GET

Returns details for a single policy. You can also use GET app-policy/code/{code} to retrieve the policy details by policy code instead of GUID.

Parameters

ParameterDescription
GUID

Required. The GUID for the policy you want to look at. To find GUIDs for all policies on the policy console, use GET app-policy/catalog.

Example request

Request

curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/app-policy/
0f84743b-57f2-43c6-92ff-123fdeb144e2
CODE

Response

{
  "app_policy": [{
   "applications": [{
     "apk_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/a6ada0ee-c019-454f-9030-99bf3b9cd56e/apk",
     "app_id": "a6ada0ee-c019-454f-9030-66bf3b9cd56e",
     "can_wrap_map_legacy": true,
     "can_wrap_map_next": true,
     "icon_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/a6ada0ee-c019-454f-9030-66bf3b9cd56e/icon",
     "info_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/a6ada0ee-c019-454f-9030-66bf3b9cd56e",
     "is_compass_app": true,
     "is_mocana_app": true,
     "name": "Compass",
     "package_name": "com.qwe.keybrowser",
     "platform": "PLATFORM_ANDROID",
     "policy_hash": "e316d71c-36e9-4470-8a69-2ec418467c50",
     "version_code": "310000017",
     "version_name": "3.10.0.17"
   }],
   "info_url": "https://bc.qwe.com/mocana-app-control/rest/app-policy/1f22e273-3095-4361-b273-7de552fe04fa",
   "policy_code": "POLICY_CODE_APP_CUSTOMIZATION",
   "policy_icon_url": "https://bc.qwe.com/mocana-app-control/rest/files/78aaf1f7-2dd6-4572-8243-67ca3ebf7860",
   "policy_id": "1f22e273-3096-4361-b273-7de552fe04fa",
   "policy_name": "App Customization",
   "policy_status": "active",
   "summary_count": 1
 }],
 "message": "",
 "status": "OK"
}
CODE