REST APIGit
Pull the current branch
`git pull --ff-only` in `/data/app` through the git proxy, as the workspace. It never syncs the landscape. A pull git refuses answers 409 with problem `git-pull-failed` and git's output as `detail`. Needs `workspace.code`; 409 when the IDE does not run.
Generated from
openapi/harthelm.yaml at v1.5.0POST
cookie
__Host-harthelm_session<token>Browser session of the UI (12 h idle, 7 days absolute). State-changing requests also need the header
Harthelm-CSRF: 1 and a matching Origin.
ws*integerNumeric resource id.
Format
int64Range
1 <= valuePulled (or already up to date).
application/json- response
before?stringafter?stringupdated*booleanoutput*stringGit's output
curl -X POST 'https://console.example.com/api/v1/workspaces/1/git/pull'{ "before": "string", "after": "string", "updated": true, "output": "string"}