POST /a/config/peers/{PeerAddress}
List folders on a peer, starting from root
Body Parameters
Name | Description | Type | Required |
---|---|---|---|
Path | Path to the parent folder for listing | string | |
PeerAddress | Restrict listing to a given peer | string |
Body Example
{
"Path": "string",
"PeerAddress": "string"
}
Response Example (200)
Response Type /definitions/restNodesCollection
{
"Children": [
{
"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"
}
],
"Parent": {
"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"
}
}