Request data |
{
id: 'pages tree folder id in DB table',
title: 'folder title',
access_changed: '1', // 1 - access data was changed, 0 - access data remains unchanged
access: { // access control data
i: '1', // 1 - inheritance is alowed, 0 - inheritance is not alowed
r: { // read permission - actual only in Pages tool
g: ['group code', ...], // group/role permissions, ex. ['admin','demo']
u: ['user id', ...] // user permissions, ex. ['jsmi']
},
w: { // write permission - actual only in Pages tool
g: ['group code', ...],
u: ['user id', ...]
},
e:{ // execute permission - controls permission for page execution in browser
g: ['group code', ...],
u: ['user id', ...]
},
m:{ // manage permission - actual only in Pages tool
g: ['group code', ...],
u: ['user id', ...]
},
rep: '1' // 1 - replace access control data in all child nodes, 0 - do not replace
},
manage: '1' - current user has permissions to change access control data
}
|
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message', // error message
data:[
key: 'pages tree folder id in DB table',
seq: 'XXXXXXX', // unique SEQ
up: 'parent folder id in DB table',
title: 'folder title',
url: '',
editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator
timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33'
]
}
|