v1

latestOpenAPI 3.1.12026-07-1744285.2 KB
files

Create a node in the filesystem tree

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

Path parameters

namespacestring required
pathstring required

path of the parent node (with slashes)

Request body

namestring

name of the node(file or directory name)

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

type of the node

mimeTypestring

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

datastring

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

Response

filesystem tree node created successfully