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
Parameter | Description |
---|---|
code | Required. The code for the policy you want to look at. |
Policy name | Policy code |
---|---|
MAP.Next | POLICY_CODE_MAP_NEXT |
App Customization | POLICY_CODE_APP_CUSTOMIZATION |
App Store Compatibility | POLICY_CODE_APP_STORE |
Client Certificates | POLICY_CODE_CLIENT_CERTS |
Encrypted Data at Rest | POLICY_CODE_DAR |
Data Sharing | POLICY_CODE_DATA_SHARING |
Device Posture | POLICY_CODE_DEVICE_POSTURE |
Diagnostics | POLICY_CODE_DIAGNOSTICS |
End User License Agreement (EULA) | POLICY_CODE_END_USER_LICENSE_AGREEMENT |
FIPS 140-2 module | POLICY_CODE_FIPS_MAP_NEXT |
Local App Authentication | POLICY_CODE_LOCAL_AUTH |
Master | POLICY_CODE_MASTER |
Browser Configuration | POLICY_CODE_MOCANA_BROWSER |
Secure Microtunnel | POLICY_CODE_SECURE_CONNECTION |
Secure Web Stack | POLICY_CODE_SECURE_WEB_STACK |
Trusted Server Certificates | POLICY_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"
}