Create a node
POST/api/create_node/:project_guid/:workflow_guid
Creates a new node in the given workflow, either empty (using node_type)
or copied from a template (using template_id), writes it directly to the
project hub, and schedules the git commit/propagation and runtime reload as
background tasks.
When the template comes from a subscribed catalog and pins library versions
this project doesn't have, they are installed from that catalog first and
listed in installed_libraries so the caller can say what it did. Returns
an advisory warning if the workflow's node count now exceeds the licensed
limit.
Request
Responses
- 200
- 400
- 404
- 409
- 422
Successful Response
Node name is required
Project, workflow, or template not found
The template needs a library this project can't have - it isn't in the template's catalog, or the project already has an unrelated library of that name
Validation Error