Download
Last stable v 5.2 2024-11-01
API URL | /dir/lst |
Description | Actual pages tree folder content list DataTable() object server side RESTFul API |
Access | Restricted to roles: admin, demo |
Rquest method | GET |
Request data type | Request variables |
Request data |
Variables automatically issued by dataTable() object:
|
Response type | JSON |
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'
}
|