Download
Last stable v 5.2 2024-11-01
API URL | /mnu/upd/:id |
Description | Update CMS menu 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: 'menu id in DB table', // ex. '1'
title: 'menu title', // ex. 'demo'
url: 'menu url', // ex. '/demo'
filter: 'language id in DB table', // ex. '1'
type: '2', // 2 - menu item
tooltip: 'text about menu item',
editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator
timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33'
]
}
|