POST /a/tree/admin/stat
Read a node information inside the admin tree
Body Parameters
Name | Description | Type | Required |
---|---|---|---|
Node | Input node | #/definitions/treeNode | |
ObjectStats | Used internally for the router ReadNode request, stat the datasource instead of index | boolean | |
StatFlags | Generic Details Flags | array | |
WithCommits | Gather commit information - This is Deprecated | boolean | |
WithExtendedStats | Get extended stats - For folders, computes ChildrenCount - Depreacted, use StatFlags instead | boolean |
Body Example
{
"Node": {
"Path": "string"
},
"ObjectStats": true,
"StatFlags": [
10
],
"WithCommits": true,
"WithExtendedStats": true
}
Response Example (200)
Response Type /definitions/treeReadNodeResponse
{
"Node": {
"AppearsIn": [
{
"Path": "string",
"WsLabel": "string",
"WsScope": "string",
"WsSlug": "string",
"WsUuid": "string"
}
],
"Commits": [
{
"Data": "string",
"Description": "string",
"Event": {
"Metadata": {},
"Optimistic": true,
"Silent": true,
"Source": "[Recursive structure]",
"Target": "[Recursive structure]",
"Type": "string"
},
"Location": "[Recursive structure]",
"MTime": "string",
"OwnerUuid": "string",
"Size": "string",
"Uuid": "string"
}
],
"Etag": "string",
"MTime": "string",
"MetaStore": {},
"Mode": 10,
"Path": "string",
"Size": "string",
"Type": "string",
"Uuid": "string"
},
"Success": true
}