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

    /dir/get/:id

    API URL/dir/get/:id
    DescriptionGet CMS pages tree folder info RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data typeURL route parameters
    Request data
    • :id - folder id in DB table
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'success', // error message data: { id: 'pages tree folder id in DB table', seq :'XXXXXXX', // unique SEQ title: 'folder title', path: 'path_to_folder', up: 'parent folder id in DB table', editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp', // ex. '2013-09-02 15:04:33' acc: { // access control data acl: { // access control list 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', ...] } }, acl_inherit: { // inherited access control list; top folder inherits permissions from Pages tool roles: admin, demo (r/o) r: { // inherited read permission - actual only in Pages tool g: ['group code', ...], // group/role permissions, ex. ['admin','demo'] u: ['user id', ...] // user permissions, ex. ['jsmi'] }, w: { // inherited write permission - actual only in Pages tool g: ['group code', ...], u: ['user id', ...] }, e: { // inherited execute permission - controls permission for page execution in browser g: ['group code', ...], u: ['user id', ...] }, m: { // inherited manage permission - actual only in Pages tool g: ['group code', ...], u: ['user id', ...] } }, inherit: '1', // 1 - inheritance is alowed, 0 - inheritance is not alowed manage: '1' // 1 - logged user has permission to manage folder permissions, 0 - logged user does not have permission to manage folder permissions } } }