Download
Last stable v 5.2 2024-11-01
API URL | /edt/put |
Description | Put content into file RESTFul API |
Access | Restricted to roles: admin, demo (r/o) |
Rquest method | POST |
Request data type | Request raw data |
Request data |
{
file: 'relative file path in /cms/files', // ex. 'guide/api/guide-api-cfg-crt.html'
content: 'file content'
}
|
Response type | JSON |
Response data |
{
rc: 'return code', // '0' - success, '1' - error
msg: 'success', // error message
file: 'relative file path in /cms/files' // ex. 'guide/api/guide-api-cfg-crt.html'
}
|