app-market/{GUID}
A single mobile app (an APK or IPA file) in the policy console.
Resource-wide template parameter
Parameter | Description |
---|---|
GUID | Required. The GUID for the app.
|
GET
Returns details for a single mobile app (an APK or IPA file).
Example request
Request
BASH
curl -b c.txt -c c.txt \
-X GET https://bc.qwe.com/mocana-app-control/rest/app-market/0a22067f-d523-4864-8973-3a80f054d884
Response
JS
{
"application": [{
"apk_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-market/537b0218-3e97-46aa-ac30-9e7fed4b124d/apk",
"app_id": "537b0218-3e97-46aa-ac30-9e7fed4b124d",
"app_policies": [
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/14f66d16-daf2-4b20-a507-10dfbc34fbdf",
"policy_code": "POLICY_CODE_MAP_NEXT",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/41e89013-cbc4-4425-8e93-a8bf8ff91467",
"policy_id": "14f66d16-daf2-4b20-a507-10dfbc34fbdf",
"policy_name": "MAP.Next",
"policy_status": "active"
},
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/6b041d7a-4fd5-4b1d-bf7f-b14c6510ab9b",
"policy_code": "POLICY_CODE_DEVICE_POSTURE",
"policy_data": "{\"device_posture_profile_id\":\"ed358029-544a-433c-9901-6f98a4bf46a5\"}",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/b6528421-cca8-4e30-b4d3-513a6a0c8c34",
"policy_id": "6b041d7a-4fd5-4b1d-bf7f-b14c6510ab9b",
"policy_name": "Device Posture",
"policy_profile_data": "ae018f83-5ecb-49c6-8cdd-1f9a9e7b871f",
"policy_status": "active"
},
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/85dfc74c-6a0c-4721-9e02-541b273ab547",
"policy_code": "POLICY_CODE_SECURE_CONNECTION",
"policy_data": "{\"vpn_profile\":\"608315d7-600e-45c9-a700-267a7bf35a03\"}",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/4d2d3b94-a612-49e6-875a-782ff26d5e77",
"policy_id": "85dfc74c-6a0c-4721-9e02-541b273ab547",
"policy_name": "Secure Connection",
"policy_profile_data": "2aad6acb-3d8c-43df-8390-87fc6e380f9f",
"policy_status": "active"
},
(...)
],
"can_wrap_map_legacy": true,
"can_wrap_map_next": true,
"entitlements": {
"certificate_id": "iPhone Developer",
"ios_provisioning_id": "3c1117ce-7a12-462c-9a7d-3a3c0230558c",
"ios_provisioning_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/3c1117ce-7a12-462c-9a7d-3a3c0230558c",
"uses_custom_entitlements": true
},
"icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-market/537b0218-3e97-46aa-ac30-9e7fed4b124d/icon",
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-market/537b0218-3e97-46aa-ac30-9e7fed4b124d",
"is_compass_app": false,
"is_mocana_app": false,
"name": "TouchDown",
"package_name": "com.qwe.tdi.TouchDown",
"package_size": "16330414",
"platform": "PLATFORM_IOS",
"plist_url": "https://bc.qwe.com:443/mocana-app-control/rest/web-catalog/537b0218-3e97-46aa-ac30-9e7fed4b124d.plist",
"policy_hash": "7159a95d-ac9c-4824-8d28-4bc84b5e9f87",
"version_code": "8.0.3",
"version_name": "617",
"wrapped_by_version": "3.13.0.99",
"wrapped_package_size": "19773866"
}],
"message": "",
"status": "OK"
}
DELETE
Deletes a single mobile app (an APK or IPA file) from the policy console.
Example request
Request
BASH
curl -b c.txt -c c.txt \
-X DELETE https://bc.qwe.com/mocana-app-control/rest/app-market/3468562d-2ee1-456c-baf8-dadaa9a8da0e