Pin a node to a commit
PUT/api/set_node_run_commit/:project_guid/:workflow_guid/:node_guid
Pins (or clears, with an empty string) the git commit a node's runtime executions are pulled from. This is runtime state stored outside git, so it doesn't create a commit or propagate to clones; the runtime is reloaded so a running node picks up the new pin on its next (re)start. Rejected with 409 while the node is running, since the pin should never change out from under an active run.
Request
Responses
- 200
- 400
- 404
- 409
- 422
Successful Response
Commit not found or does not contain this node
Project, workflow, or node not found
Node is running; stop it before changing its run commit
Validation Error