Skip to main content
Skip table of contents

app-policy/code/{code}

Policy details by policy code.

GET

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

Parameters

ParameterDescription
code

Required. The code for the policy you want to look at.

Policy namePolicy code
MAP.NextPOLICY_CODE_MAP_NEXT
App CustomizationPOLICY_CODE_APP_CUSTOMIZATION
App Store CompatibilityPOLICY_CODE_APP_STORE
Client CertificatesPOLICY_CODE_CLIENT_CERTS
Encrypted Data at RestPOLICY_CODE_DAR
Data SharingPOLICY_CODE_DATA_SHARING
Device PosturePOLICY_CODE_DEVICE_POSTURE
DiagnosticsPOLICY_CODE_DIAGNOSTICS
End User License Agreement (EULA)POLICY_CODE_END_USER_LICENSE_AGREEMENT 
FIPS 140-2 modulePOLICY_CODE_FIPS_MAP_NEXT
Local App AuthenticationPOLICY_CODE_LOCAL_AUTH
MasterPOLICY_CODE_MASTER
Browser ConfigurationPOLICY_CODE_MOCANA_BROWSER
Secure MicrotunnelPOLICY_CODE_SECURE_CONNECTION
Secure Web StackPOLICY_CODE_SECURE_WEB_STACK
Trusted Server CertificatesPOLICY_CODE_TRUSTED_SERVER_CERTS

Example request

Request

CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/app-policy/code/POLICY_CODE_DAR

Response

CODE
{
  "app_policy": [{
    "applications": [
      {
        "apk_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/033fe241-67d4-4fea-a5ab-9f55e1749443/apk",
        "app_id": "033fe241-67d4-4fea-a5ab-9f55e1749443",
        "can_wrap_map_legacy": false,
        "can_wrap_map_next": true,
        "icon_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/033fe241-67d4-4fea-a5ab-9f55e1749443/icon",
        "info_url": "https://bc.qwe.com/mocana-app-control/rest/app-market/033fe241-67d4-4fea-a5ab-9f55e1749443",
        "is_compass_app": true,
        "is_mocana_app": true,
        "name": "Compass.Next",
        "package_name": "com.qwe.Compass",
        "platform": "PLATFORM_IOS",
        "plist_url": "https://bc.qwe.com/mocana-app-control/rest/web-catalog/033fe241-67d4-4fea-a5ab-9f55e1749443.plist",
        "policy_hash": "0c7861b1-334c-4bec-bc85-5bbcee843b58",
        "version_code": "3.13.0",
        "version_name": "3.13.0"
      },
      (...)
   ],
    "info_url": "https://bc.qwe.com/mocana-app-control/rest/app-policy/91c9aec0-77c9-47bf-958e-5ebece0711d5",
    "policy_code": "POLICY_CODE_DAR",
    "policy_icon_url": "https://bc.qwe.com/mocana-app-control/rest/files/7199a70a-ea57-479d-a72d-0b26ecd40a9b",
    "policy_id": "91c9aec0-77c9-47bf-958e-5ebece0711d5",
    "policy_name": "Encrypted Data at Rest",
    "policy_status": "active",
    "summary_count": 12
  }],
  "message": "",
  "status": "OK"
}
JavaScript errors detected

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

If this problem persists, please contact our support.