profile/catalog
A list of details for all policy profiles in the policy console.
GET
Returns an array containing details for all the active policy profiles in the policy console.
See Policy profiles for details on active and archived policy profiles.
Example request
The following example request retrieves an array containing two profiles.
Request
CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/profile/catalog
Response
CODE
{ "message": "", "profiles": [ {
{
"data": {
"profile_data": "{\"copyBlocked\":\"1\",\"pasteBlocked\":\"1\"}",
"profile_data_id": "7de71233-faed-4c8c-be7a-25c39a3ff283",
"profile_data_stamp": "2016-06-08 16:06:23.0"
},
"profile_desc": "Block copy and paste operations",
"profile_id": "c6d915b6-edb9-4648-abc1-33c35204a5dd",
"profile_name": "BlockCopyPaste",
"profile_type": "data_sharing",
"profile_url": "https://bc.qwe.com/mocana-app-control/rest/profile/c6d915b6-edb9-4648-abc1-33c35204a5dd"
},
{
"data": {
"profile_data": "{\"fontColor\":\"FFFFFF\",
\"displaySecuredByBar\":\"1\",
\"secondaryBtnColor\":\"0191C5\",
\"backgroundColor\":\"0076A9\",
\"primaryBtnColor\":\"00CC00\",
\"reset_logo_image\":\"1\",
\"reset_bg_image\":\"1\"}",
"profile_data_id": "784f7487-f37b-4707-9961-4660f3415476",
"profile_data_stamp": "2016-06-16 13:01:13.0"
},
"profile_desc": "Default Blue Cedar app customization",
"profile_id": "c71a2126-9f9f-4cbd-871b-a9759bd3d696",
"profile_name": "bcn-default",
"profile_type": "app_customization",
"profile_url": "https://bc.qwe.com/mocana-app-control/rest/profile/c71a2126-9f9f-4cbd-871b-a9759bd3d696"
},
],
"status": "OK" }