/mnu/rel

    API URL/mnu/rel/:id
    DescriptionMenu/collection/language items sharing same page list DataTable() object server side RESTFul API
    AccessRestricted to roles: admin, demo
    Rquest methodGET | POST
    Request data typeRequest variables
    Request URL data
    • :id - menu | collection | language | page internal id in DB table
    Request GET/POST data Variables automatically issued by DataTable() object for server side backend:
    • source:
      • menu - :id is menu item id
      • collection - :id is collection item id
      • language - :id is language item id
      • page - :id is page item id
    • draw - sequence number
    • ...
    Response typeJSON
    Response data
    { 'draw': 'sequence number', // ex. '1' 'recordsTotal': 'total records in DB menu/collection/language table', // ex. '13' 'recordsFiltered': 'total records in DB menu/collection/language table', // ex. '13' 'data':[ [ 'No', // sequence no ex. '1' 'menu/collection/language id in DB table', // ex. '1' 'item-type', // 'menu' | 'collection' | 'language' 'item-label', // menu/collection/language label 'language-code', // ex. 'eng', if empty: '-' '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' }