v1

latestOpenAPI 3.1.02026-07-17254060.5 KB
files

Create, write, remove files/directories

This endpoint can:

  • Write content to a path on the remote system. For this mode, use a multipart/form-data request body with JSON metadata in the first part. In the JSON metadata, set action to write.
  • Create a directory or directory tree. For this mode, use an application/json request body with action set to make-dirs.
  • Delete a file or directory. For this mode, use an application/json request body with action set to remove.
post/v1/files

Request body

OR

Response

Successful operation. The result in the response is a JSON array of the file result object containing path and (optional) errors.

typestring

Response type, "sync".

status-codeinteger

HTTP response status code.

statusstring

The description of the HTTP status code.

See the IANA list.