v36

latestOpenAPI 3.0.3GNU General Public License v3.0raw.githubusercontent.com2026-08-017758212.6 KB
user

Move or rename a user data file

Move or rename a file within a user's data directory, with options for controlling overwrite behavior and response format.

post/api/userdata/{file}/move/{dest}

Path parameters

filestring required

The source file path (URL encoded if necessary).

deststring required

The destination file path (URL encoded if necessary).

Query parameters

overwrite'true' | 'false'

If "false", prevents overwriting existing files. Defaults to "true".

Response

File moved successfully.

modifiedinteger

UNIX timestamp of the last modification in milliseconds.

pathstring
sizeinteger