Download
Last stable v 5.2 2024-11-01
API URL | /mnu/pst |
Description | Paste CMS language/menu item via list RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
key: 'language/menu item id in DB table', // target folder node id
type: '1', // 1 - target is language, 2 - target is menu
data: [ // source language and menu items list to be pasted
[ // array per language/menu item
'language/menu item id in DB table', // ex. '1'
'type' // 1 - language, 2 - menu
]
...
]
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message', // error message
lastUpdateLang:{
'eng': true // lat update language code
}
}
|