API URL | /url/rel/:id |
Description | Pages assigned to this model list DataTable() object server side RESTFul API |
Access | Restricted to roles: admin, demo |
Rquest method | GET | POST |
Request data type | Request variables |
Request URL data |
|
Request GET/POST data |
Variables automatically issued by DataTable() object for server side backend:
|
Response type | JSON |
Response data |
{
'draw': 'sequence number', // ex. '1'
'recordsTotal': 'total records in DB pages table', // ex. '13'
'recordsFiltered': 'total records in DB pages table', // ex. '13'
'data':[
[
'No', // sequence no ex. '1'
'page id in DB table', // ex. '1'
'item-type', // 'page'
'item-label', // page label
'',
'last update editor name', // ex. 'Linkoln Edgar', 'CMS' - if cms builtin administrator
'last update timestamp' // ex. '2013-09-02 15:04:33'
]
...
],
'rc': '0',
'msg': 'success'
}
|