app-policy/catalog
List all policies.
GET
Returns an array of all Blue Cedar policies, along with details for each policy (including the policy_id—the GUID needed to access a single policy).
Note that this API call returns current and legacy policy, although this documentation covers only current policies.
Example request
Request
CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/app-policy/catalog
Response
CODE
{ "app_policies": [
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/8adf5aa6-8b3b-425d-896c-6a58f6f4cf73",
"policy_code": "POLICY_CODE_CLIENT_CERTS",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/54103e11-a894-480c-a142-f16f2146341b",
"policy_id": "8adf5aa6-8b3b-425d-896c-6a58f6f4cf73",
"policy_name": "Client Certificates",
"policy_status": "active",
"summary_count": 5
},
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/bc035b8c-df1a-46db-9029-5d936116d276",
"policy_code": "POLICY_CODE_DATA_SHARING",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/ada1bb2c-b650-4773-b11c-c3705e26a223",
"policy_id": "bc035b8c-df1a-46db-9029-5d936116d276",
"policy_name": "Data Sharing",
"policy_status": "active",
"summary_count": 3
},
{
"info_url": "https://bc.qwe.com:443/mocana-app-control/rest/app-policy/3276ca3b-84e6-47e8-a481-a7d847d69cf2",
"policy_code": "POLICY_CODE_MAP_NEXT",
"policy_icon_url": "https://bc.qwe.com:443/mocana-app-control/rest/files/bff38b32-db58-4628-9bb8-75bc89417b9f",
"policy_id": "3276ca3b-84e6-47e8-a481-a7d847d69cf2",
"policy_name": "MAP.Next",
"policy_status": "active",
"summary_count": 11
},
(...)
]
"message": "",
"status": "OK"
}