API URL | /local/locale/new |
Description | Create new CMS locale RESTful API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
code: "ar_EG", // locale code
path: "/cms/skins/default/locale" // path to lacales folder
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message' // error message
}
|