v1

latestOpenAPI 3.1.12026-07-1744285.2 KB
files

Update a node in the filesystem tree (change path or data)

patch/api/v2/namespaces/{namespace}/files/{path}

Path parameters

namespacestring required
pathstring required

path of the parent node (with slashes)

Request body

pathstring

the new absolute path of the node(file or directory name)

datastring

(only with type != directory) base64 encoded string of the file content

Response

filesystem tree node updated successfully

pathstring

path of the node

type'directory' | 'file' | 'workflow' | 'service' | 'endpoint' | 'consumer'

type of the node

mimeTypestring

(only with type != directory) mime type of the file content

sizenumber

(only with type != directory) file size in bytes

createdAtstring

timestamp of node creation date

updatedAtstring

timestamp of node last updating date

datastring

(only with type != directory) base64 encoded string of the file content