Get project git status
GET/api/get_project_git_status/:guid
Returns the git status (branch, ahead/behind counts, merge state, and
working-tree changes) for a project. By default this reflects the current
user's own dev clone; when hub is true it instead reflects the shared
hub repository's drift against the cloud remote.
When both workflow_guid and node_guid are given, changes covers only
that node's directory and the libraries it links to, matching what the
Scripting page's Source Control tab is actually a view of - the same
scoping get_project_git_log already applies to the commit graph. Branch,
ahead and behind stay project-wide either way, since Push/Pull are;
ahead_scoped reports how much of ahead is that node's own work, which
is what the node's tab shows so a sibling node's backlog doesn't read as
this node's.
Request
Responses
- 200
- 400
- 404
- 422
Successful Response
Invalid path segment
Project not found
Validation Error