POST /a/config/virtualnodes/{Uuid}
[Enterprise Only] Create or update a virtual node
Body Parameters
Name | Description | Type | Required
---|---|---|---
AppearsIn | Can be used for output when node is appearing in multiple workspaces | array |
Commits | List of successive commits | array |
Etag | Hash of the content if node is a LEAF, Uuid or | string |
MTime | Last modification Timestamp | string |
MetaStore | ------------------------------------
Then a free K => V representation of any kind of metadata
------------------------------------ | object |
Mode | Permission mode, like 0777 | integer |
Path | | string |
Size | Size of the file, or cumulated size of folder | string |
Type | | #/definitions/treeNodeType |
Uuid | ------------------------------------
Core identification of the node
------------------------------------ | string |
Body Example
{
"Path": "string"
}
Response Example (200)
Response Type /definitions/treeNode
{
"AppearsIn": [
{
"Path": "string",
"WsLabel": "string",
"WsSlug": "string",
"WsUuid": "string"
}
],
"Commits": [
{
"Data": "string",
"Description": "string",
"Event": {
"Metadata": {},
"Optimistic": true,
"Silent": true,
"Source": "[Recursive structure]",
"Target": "[Recursive structure]",
"Type": "string"
},
"MTime": "string",
"OwnerUuid": "string",
"Size": "string",
"Uuid": "string"
}
],
"Etag": "string",
"MTime": "string",
"MetaStore": {},
"Mode": 10,
"Path": "string",
"Size": "string",
"Type": "string",
"Uuid": "string"
}