action dracoon_list_node_subscriptions {
label: "List node subscriptions"
description: "
🚀 Since v4.20.0
\n\n### Description: \nRetrieve a list of subscribed nodes for current user. \n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nList of subscribed nodes is returned.\n\n### Further Information:\nNone.\n\n### Filtering:\nAll filter fields are connected via logical conjunction (**AND**) \nFilter string syntax: `FIELD_NAME:OPERATOR:VALUE[:VALUE...]` \n\n\nExample
\n\n`authParentId:eq:#` \nGet nodes where `authParentId` equals `#`.\n\n \n\n### Filtering options:\n\nExpand
\n\n| `FIELD_NAME` | Filter Description | `OPERATOR` | Operator Description | `VALUE` |\n| :--- | :--- | :--- | :--- | :--- |\n| **`nodeId`** | Node ID filter | `eq` | Node ID equals value. | `long value` |\n| **`authParentId`** | Auth parent ID filter | `eq` | Auth parent ID equals value. | `long value` |\n\n \n\n---\n\n### Sorting:\nSort string syntax: `FIELD_NAME:ORDER` \n`ORDER` can be `asc` or `desc`. \nMultiple sort criteria are possible. \nFields are connected via logical conjunction **AND**.\n\n\nExample
\n\n`nodeId:desc|authParentId:asc` \nSort by `nodeId` descending **AND** `authParentId` ascending.\n\n \n\n### Sorting options:\n\nExpand
\n\n| `FIELD_NAME` | Description |\n| :--- | :--- |\n| **`nodeId`** | Node ID |\n| **`authParentId`** | Auth parent ID |\n\n "
provider: dracoon
method: GET
path: "/v4/user/subscriptions/nodes"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
filter: {
type: "string"
}
limit: {
type: "integer"
format: "int32"
}
offset: {
type: "integer"
format: "int32"
}
sort: {
type: "string"
}
}
additionalProperties: false
}
output: {
type: "object"
description: "List of subscribed nodes"
required: ["items", "range"]
properties: {
items: {
type: "array"
description: "List of subscribed nodes"
items: {
type: "object"
description: "Subscribed node information"
required: ["id"]
properties: {
authParentId: {
type: "integer"
format: "int64"
description: "Auth parent room ID"
}
id: {
type: "integer"
format: "int64"
description: "Node ID"
}
type: {
type: "string"
description: "Node type"
enum: ["room", "folder", "file"]
}
}
}
}
range: {
type: "object"
description: "Range information"
required: ["limit", "offset", "total"]
properties: {
limit: {
type: "integer"
format: "int64"
description: "Range limit. Maximum 500."
}
offset: {
type: "integer"
format: "int64"
description: "Range offset"
}
total: {
type: "integer"
format: "int64"
description: "Total items available"
}
}
}
}
}
}