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" : [ { "type" : "...", "id" : 12345, "channelId" : 12345, "label" : "...", "description" : "...", "perms" : [ { "type" : "updateimport", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true }, { "type" : "linkoverview", "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" : "deleteform", "label" : "...", "description" : "...", "category" : "...", "value" : true, "editable" : true }, { "type" : "createimport", "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 } ], "hasMoreItems" : true, "numItems" : 12345, "perms" : { "property1" : [ "viewform", "userassignment" ], "property2" : [ "updatetemplates", "updatefolder" ] }, "stagingStatus" : { "property1" : { "packageName" : "...", "included" : true }, "property2" : { "packageName" : "...", "included" : true } }, "messages" : [ { }, { } ], "responseInfo" : { "responseCode" : "OK", "responseMessage" : "...", "property" : "..." } }