List of permissions
| name | data type | constraints | description |
|---|---|---|---|
| items | array of TypePermissions | List of type permissions | |
| messages | array of Message | Messages contained in the response (which should be shown to the user) | |
| hasMoreItems | boolean | required boolean | True if more items are available to get (if paging was used) |
| responseInfo | ResponseInfo | ||
| numItems | number | required int | Get total number of items available |
| perms | map of array of Permission | User permissions on the returned items, if applicable and requested |
Example
{
"items" : [ {
"type" : "...",
"id" : 12345,
"channelId" : 12345,
"label" : "...",
"description" : "...",
"perms" : [ {
"type" : "createtemplates",
"label" : "...",
"description" : "...",
"category" : "...",
"value" : true,
"editable" : true
}, {
"type" : "creategroup",
"label" : "...",
"description" : "...",
"category" : "...",
"value" : true,
"editable" : true
} ],
"roles" : [ {
"id" : 12345,
"label" : "...",
"description" : "...",
"value" : true,
"editable" : true
}, {
"id" : 12345,
"label" : "...",
"description" : "...",
"value" : true,
"editable" : true
} ],
"children" : true,
"editable" : true
}, {
"type" : "...",
"id" : 12345,
"channelId" : 12345,
"label" : "...",
"description" : "...",
"perms" : [ {
"type" : "deleteuser",
"label" : "...",
"description" : "...",
"category" : "...",
"value" : true,
"editable" : true
}, {
"type" : "updategroup",
"label" : "...",
"description" : "...",
"category" : "...",
"value" : true,
"editable" : true
} ],
"roles" : [ {
"id" : 12345,
"label" : "...",
"description" : "...",
"value" : true,
"editable" : true
}, {
"id" : 12345,
"label" : "...",
"description" : "...",
"value" : true,
"editable" : true
} ],
"children" : true,
"editable" : true
} ],
"messages" : [ { }, { } ],
"hasMoreItems" : true,
"responseInfo" : {
"responseCode" : "OK",
"responseMessage" : "...",
"property" : "..."
},
"numItems" : 12345,
"perms" : {
"property1" : [ "publishform", "updatefolder" ],
"property2" : [ "createfolder", "readitems" ]
}
}