Responsive design

Notice: Undefined index: social_google in /home/webroot/www.kusoftas.com/cms/templates_c/demo^7b9c5ab6cf20f7b62a4fced0b8a945dae9af628c_0.file.skin-template-header.tpl.cache.php on line 163

Download

Last stable v 5.2 2024-11-01

    API URL/dir/put
    DescriptionUpdate CMS pages tree folder info RESTFul API
    AccessRestricted to roles: admin, demo (r/o)
    Rquest methodPOST
    Request data typeRequest raw data
    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 typeJSON
    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' ] }