Harthelm Docs

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.0
POST
/workspaces/{ws}/git/pull

Authorization

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.

Path Parameters

ws*integer

Numeric resource id.

Formatint64
Range1 <= value

Response Body

Pulled (or already up to date).

application/json
  1. response
before?string
after?string
updated*boolean
output*string

Git's output

curl -X POST 'https://console.example.com/api/v1/workspaces/1/git/pull'
{  "before": "string",  "after": "string",  "updated": true,  "output": "string"}