profile/catalog/{policytype}
A list of details for all policy profiles of a specific type.
GET
Returns an array of details for all policy profiles of a given type.
Parameters
Parameter | Description |
---|---|
type | Type of profile you want to look up. Valid values:
|
Example request
Request
CODE
curl -b c.txt -c c.txt -X GET https://bc.qwe.com/mocana-app-control/rest/profile/catalog/data_sharing
Response
CODE
{
"message": "",
"profiles": [{
"data": {
"profile_data": "{\"urlMappingRules\":[{\"action\":\"permitScheme\",\"from\":\"http\"},
{\"action\":\"permitScheme\",\"from\":\"https\"}],
\"pasteBlocked\":\"0\",\"copyBlocked\":\"1\",\"share_map_data\":\"1\",\"privacyScreen\":\"0\"}",
"profile_data_id": "7de71233-faed-4c8c-be7a-52c39a3ff283",
"profile_data_stamp": "2016-06-08 16:06:23.0"
},
"profile_desc": "Block copy and allow paste operations",
"profile_id": "c6d915b6-edb9-4648-abc1-44c35204a5dd",
"profile_name": "BlockCopyAllowPaste",
"profile_type": "data_sharing",
"profile_url": "https://bc.qwe.com/mocana-app-control/rest/profile/c6d915b6-edb9-4648-abc1-33c35204a5dd"
}],
"status": "OK"
}