API URL | /url/upd/:id |
Description | Update CMS page 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: 'page id in DB table', // ex. '1'
seq: '53d1015827a74',
pid: '53d1015827a37',
type: '0', // [0 | 1 | 2]
title: 'page title', // ex. 'demo'
url: 'page url', // ex. '/demo'
editor: 'last update editor name', // ex. 'Linkoln Edgar', '0' - if cms builtin administrator
timestamp: 'last update timestamp' // ex. '2013-09-02 15:04:33'
]
}
|