API URL | /grp/get/:code |
Description | Get CMS group/role info RESTFul API |
Access | Restricted to roles: admin, demo |
Rquest method | GET |
Request data type | URL route parameters |
Request data |
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message', // error message
data:[
id: 'group id in DB table', // ex. '1'
code: 'group code', // ex. 'demo'
name: 'group name', // ex. 'Demo role'
editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator
timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33'
]
}
|