Get every node's newest commit for one workflow
GET/api/get_workflow_node_commits/:guid
The newest commit of every node in a workflow, from the shared hub repo, in a single call.
The builder canvas labels each node with the commit it runs from, for every node on screen. Asking per node meant one request - and one git subprocess - per node on every navigation, all contending for the browser's six connections per origin; this answers the whole canvas at once.
Only commits leaving the node present are considered, matching get_project_git_log's exclude_deleted: a node can't run from the commit that deleted it. Pinned nodes don't need this - their hash is the pin itself - so this is only what an unpinned node resolves to.
Request
Responses
- 200
- 400
- 404
- 422
Successful Response
Invalid path segment
Project or workflow not found
Validation Error