Download
Last stable v 5.2 2024-11-01
API URL | /mnu/lst |
Description | Actual menu 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 |
Request variables and variables automatically issued by DataTable() object:
|
Response type | JSON |
Response data |
{
draw: 'sequence number', // ex. '1'
recordsTotal: 'total records in DB user table', // ex. '13'
recordsFiltered: 'total records in DB user table', // ex. '13'
rc: '0',
msg: 'success',
data: [ // datatable record array
[ // datatable record
'<input type="checkbox"/>', // checkbox <input> element
'No', // sequence no ex. '1'
'menu/language id in DB table', // ex. '1'
'styling HTML tag',
// <a href="#" class="styling-class" data-type="X" data-folder="1" data-up="Y" data-filter="Z"/> - folder
// <div class="styling-class" data-type="X" data-folder="0" data-up="Y" data-filter="Z"/> - item
// folder styling: ['cms-button-icon-folder-lng-collapsed' | 'cms-button-icon-folder-collapsed' | 'cms-table-item-folder']
// item styling: ['cms-page-icon']
// Y - menu UP folder ID, ex. 78
// X - filtering by language ID, ex. 1
'menu/language title', // ex. 'Home'
'language/menu url', // ex. '/eng',
'<div class="styling-class"/>', // ['cms-mark-icon-positive' | 'cms-mark-icon-negative']
'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator
'last update timestamp' // ex. '2013-09-02 15:04:33'
]
...
]
})
|