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/tree

    API URL/dir/tree ? [folders] [id]
    DescriptionGet CMS pages tree RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data typen/a
    Request data
    • folders - get only folder nodes [true | false], default: false
    • id - root node key, default: 0
    Response typeJSON
    Response data
    [ // dynatree object data { key: '0', // root node key seq: '', // item SEQ pid: '', // item PID url: '', // item URL title: '/', // root node title folder: true, // node is folder hideCheckbox: true, // hide checkbox for root node children: [ // tree children nodes array { key: 'folder ID in DB table', // ex. '1' seq: '552a4a63c6a0f', // item SEQ pid: '', // item PID url: '', // item URL title: 'folder title', // ex. "Program Guide" editor: 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' folder: true, // node is folder childCounter: 16, // child nodes counter children:[ // node children items array { key: 'DOC_XXX', // page ID in DB table seq: '53e8ba548b8e1', // item SEQ pid: '53e8ba548b6d4', // item PID url: 'page URL', // item URL title: 'folder title', type: 'type code', // page type [0 | 1 | 2], 0 - regular page, 1 - model, 2 - sample model: 0, // having model [0 | 1], 1 - true tooltip: 'some tooltip text (may have HTML tags)', extraClasses: 'classes', // classes for styling: cms-tree-model, cms-tree-model-restricted, cms-tree-sample, cms-tree-sample-m, cms-tree-sample-restricted, cms-tree-sample-m-restricted, cms-tree-page-m, cms-tree-page-restricted, cms-tree-page-m-restricted editor: 'last update editor name', timestamp: 'last update timestamp', folder: false, } ... ] } ... ] } ]