API URL | /url/drp |
Description | Drop CMS folder/page via list RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
key: 'folder id in DB table', // target folder node id
data: [ // source folders and pages list to be dropped
[ // array per folder/page
'folder/page id in DB table', // ex. '1'
'type' // 0 - page, 1 - folder
]
...
]
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'return message' // error message
}
|