API URL | /local/locale/pst |
Description | Paste CMS locales via list RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
"key":"2|/cms/skins/default/locale", // key of target node where paste
"data":[
["3|/cms/skins/default/locale/ru_RU.utf8","1"] // key of source code to be pasted
]
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message' // error message
}
|