room::rename_file

Request to rename a existing file.

{
    "method": "room::rename_file",
    "file": <path>,
    "newname": <path>,
}
  • file is the target file path you want the file to rename.
  • newname is the new filename.
Example response
{
    "method": "room::rename_file",
    "file": <path>,
    "newname": <path>,
    "status": "success",
}

Last modified September 13, 2024: docs (076b384)