Nodes

Update Project Nodes

Introduction

Update the active state of some nodes to true. If you don't provide any nodes, all the nodes become inactive and AutoSelectNode is true.

Request

The /projects/nodes/update API accepts requests in the following format:

UpdateProjectNodesRequest Model - Request to update the nodes of a project.
projectId integer
Project Id to which the nodes refer.
nodes string Array
List of node Id to update.
Example
{
  "projectId": 0,
  "nodes": [
    "string"
  ]
}

Responses

The /projects/nodes/update API provides a response in the following format:

200 Success

ProjectNodesResponse Model - Response received when reading all nodes of a project.
nodes #/components/schemas/ProjectNodes
List of project nodes.
autoSelectNode boolean
Indicate if a node is automatically selected.
success boolean
Indicate if the API request was successful.
errors string Array
List of errors with the API call.
Example
{
  "nodes": ,
  "autoSelectNode": true,
  "success": true,
  "errors": [
    "string"
  ]
}

401 Authentication Error

UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash.
www_authenticate string
Header

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: