v1

latestOpenAPI 3.0.32026-07-22194221292.5 KB
filesystem

Create or update a file or directory

Create or update a file or directory

put/filesystem/{path}

Path parameters

pathstring required

File or directory path

Request body

contentstring
isDirectoryboolean
permissionsstring

Example request

{
  "content": "file contents here",
  "permissions": "0644"
}

Response

Success message

messagestring required
pathstring

Example response

{
  "message": "File created successfully",
  "path": "/path/to/file"
}