Download
Last stable v 5.2 2024-11-01
API URL | /usr/ins/:uid |
Description | Create new CMS group/role RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request variables |
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'
]
}
|