name | data type | constraints | description |
---|---|---|---|
channelId | number | ||
label | string | ||
roles | array of RoleItem | ||
editable | boolean | required boolean | |
type | string | ||
id | number | ||
description | string | ||
perms | array of TypePermissionItem | ||
children | boolean | required boolean |
Example
{ "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" : "readtemplates" }, { "editable" : true, "value" : true, "category" : "...", "description" : "...", "label" : "...", "type" : "updatetasks" } ], "children" : true }