API URL/dir/lst
    DescriptionActual pages tree folder content list DataTable() object server side RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET
    Request data typeRequest variables
    Request data Variables automatically issued by dataTable() object:
    • folder - actual pages tree folder node key value (id in DB table); injected into DataTable() object for server side backend
    • draw - sequence number
    • ...
    Response typeJSON
    Response data
    { draw: 'sequence number', // ex. '1' recordsTotal: 'total records in table', // ex. '13' recordsFiltered: 'total records in table', // ex. '13' data: [ // datatable record array [ // datatable record '<input type="checkbox"/>', // checkbox <input> element 'No', // sequence no ex. '1' 'page id in DB table', // ex. '1' 'styling data tag', // styling tag: // tp==0: <div class="CCC" data-type="X"/>, where CCC: [cms-model-icon | cms-sample-icon | cms-sample-m-icon | cms-page-icon | cms-page-m-icon], x: [0 | 1 | 2], 0 - page, 1 - model, 2 - sample // tp==1: <a href="#" class="cms-button-icon-folder-collapsed cms-table-item-folder" data-folder="1" data-type="3"/>' 'page title', // ex. 'demo' 'page url', // ex. '/demo', 'page pid', // ex. '53d021ace7a41' 'page code', // ex. 'regular' 'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator 'last update timestamp', // ex. '2013-09-02 15:04:33' 'type' // type [0 | 1], 0 - folder, 1 - page ] ... ], rc: '0', msg: 'success' }