API URL | /usr/get/:uid/grp |
Description | Get CMS user assigned groups/roles list RESTFul API |
Access | Restricted to roles: admin, demo |
Rquest method | GET |
Request data type | URL route parameters |
Request data |
|
Response type | JSON |
Response data |
[ // dynatree object data
{
key: '###TARGET###', // root node key
title: 'Assigned Groups', // root node title
folder: true, // root node is folder
children: [ // assigned group node array
{ // assigned group node data
key: 'group code', // assigned group code
title: 'group name', // assigned group name
icon: 'user-group-icon.png' // group icon file name
}
...
]
}
]
|