action dracoon_request_node_parents {
label: "Request list of parent nodes"
description: "
🚀 Since v4.10.0
\n\n### Description: \nRequests a list of node ancestors, sorted from root node to the node's direct parent node.\n\n### Precondition:\nUser is allowed to browse through the node tree until the requested node.\n\n### Postcondition:\nList of parent nodes is returned.\n\n### Further Information:\nNone."
provider: dracoon
method: GET
path: "/v4/nodes/{node_id}/parents"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
node_id: {
type: "integer"
format: "int64"
}
}
required: ["node_id"]
additionalProperties: false
}
output: {
type: "object"
description: "List of parent nodes"
properties: {
items: {
type: "array"
description: "List of node parents"
items: {
type: "object"
description: "Parent node"
required: ["id", "name", "type"]
properties: {
id: {
type: "integer"
format: "int64"
description: "Node ID"
}
name: {
type: "string"
description: "Node name"
}
parentId: {
type: "integer"
format: "int64"
description: "Parent node ID (room or folder)"
}
type: {
type: "string"
description: "Node type"
}
}
}
}
}
}
}