API URL | /lng/upd/:id |
Description | Update CMS language title RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request variables |
Request data |
|
Response type | JSON |
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'
]
}
|