/url/rel

    API URL/url/rel/:id
    DescriptionPages assigned to this model list DataTable() object server side RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET | POST
    Request data typeRequest variables
    Request URL data
    • :id - model internal id in DB table
    Request GET/POST data Variables automatically issued by DataTable() object for server side backend:
    • draw - sequence number
    • ...
    Response typeJSON
    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' }