Mutation
add_tags_to_nodes
Adds tags to nodes in the site tree. This can be used to add tags to sites and folders.
Input Fields
tag_ids():
[ID!]!
The IDs of the tags to add.
node_ids():
[ID!]!
The IDs of the sites or folders to add tags to.
Return Fields
successful():
Boolean!
Example
Query
mutation AddTagsToNodes($input: AddTagsToNodesInput!) {
add_tags_to_nodes(input: $input) {
successful
}
}
Variables
{
"input": {
"tag_ids": ["1", "3"],
"node_ids": ["10", "15", "20"]
}
}
Result
{
"data": {
"add_tags_to_nodes": {
"successful": true
}
}
}