List of permissions
name | data type | description |
---|---|---|
items | array of TypePermissions | List of type permissions |
Properties inherited from AbstractListResponse |
||
items | array of object | Items in the list |
hasMoreItems | boolean | True if more items are available to get (if paging was used) |
numItems | number | Get total number of items available |
perms | map of array of Permission | User permissions on the returned items, if applicable and requested |
Properties inherited from StagingResponse |
||
stagingStatus | map of StagingStatus | Staging status of contained objects |
Properties inherited from GenericResponse |
||
messages | array of Message | Messages contained in the response (which should be shown to the user) |
responseInfo | ResponseInfo |
Example
{ "items" : [ { "channelId" : 12345, "label" : "...", "roles" : [ { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." }, { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." } ], "editable" : true, "type" : "...", "id" : 12345, "description" : "...", "perms" : [ { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "deleteitems" }, { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "updateitems" } ], "children" : true }, { "channelId" : 12345, "label" : "...", "roles" : [ { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." }, { "id" : 12345, "editable" : true, "description" : "...", "value" : true, "label" : "..." } ], "editable" : true, "type" : "...", "id" : 12345, "description" : "...", "perms" : [ { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "viewform" }, { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "updategroup" } ], "children" : true } ], "hasMoreItems" : true, "numItems" : 12345, "perms" : { "property1" : [ "createtemplates", "read" ], "property2" : [ "createoverview", "updateitems" ] }, "stagingStatus" : { "property1" : { "packageName" : "...", "included" : true }, "property2" : { "packageName" : "...", "included" : true } }, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }