/lng/upd/:id

    API URL/lng/upd/:id
    DescriptionUpdate CMS language title RESTFul API
    AccessRestricted to roles: admin, demo (r/o)
    Rquest methodPOST
    Request data typeRequest variables
    Request data
    • key - language code in DB table
    • title - language title
    Response typeJSON
    Response data
    { rc: 'return code', // '0' - success, '1' - error msg: 'return message', // error message data:[ key: 'language free code', // ex. 'eng' filter: 'language id in DB table', // ex. '1' title: 'language title', // ex. 'English' url: 'language url', // ex. '/eng' type: '1', folder: true, tooltip: 'language tooltip text', editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33' ] }