/edt/put

    API URL/edt/put
    DescriptionPut content into file RESTFul API
    AccessRestricted to roles: admin, demo (r/o)
    Rquest methodPOST
    Request data typeRequest raw data
    Request data
    { file: 'relative file path in /cms/files', // ex. 'guide/api/guide-api-cfg-crt.html' content: 'file content' }
    Response typeJSON
    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' }