action dracoon_update_favorites {
label: "Mark or unmark a list of nodes (room, folder or file) as favorite"
description: "
🚀 Since v4.25.0
\n\n### Description: \nMarks or unmarks a list of nodes (room, folder or file) as favorite.\n\n### Precondition:\nAuthenticated user is allowed to 👁 see the node (i.e. `isBrowsable = true`).\n\n### Postcondition:\nNodes gets marked as favorite.\n\n### Further Information:\nMaximum number of nodes is 200."
provider: dracoon
method: PUT
path: "/v4/nodes/favorites"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
isFavorite: {
type: "boolean"
description: "Sets the favorite attribute to true or false on each file in an array of nodes."
}
objectIds: {
type: "array"
description: "List of ids"
items: {
type: "integer"
format: "int64"
description: "List of ids"
}
}
}
required: ["isFavorite", "objectIds"]
additionalProperties: false
}
output: {
type: "object"
additionalProperties: true
}
}