Harthelm Docs
REST APIIdentity

The caller's Git provider connections

The providers the caller connected (*Git connections*), with the number of live workspaces the caller owns whose origin is at that provider: disconnecting stops the git proxy for them until the caller connects again or an admin transfers their ownership. Connecting is the navigation `/auth/git/{provider}/start`; disconnecting is `DELETE /git/providers/{provider}/connection`.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/me/git-connections

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.

Query Parameters

limit?integer

Maximum number of items per page.

Range1 <= value <= 200
Default50
cursor?string

Opaque cursor from next_cursor of the previous page.

Lengthlength <= 1024

Response Body

A page of connections.

application/json
  1. response
next_cursor?string

Absent on the last page.

items*array<>
curl -X GET 'https://console.example.com/api/v1/me/git-connections'
{  "next_cursor": "string",  "items": [    {      "provider": "string",      "provider_name": "string",      "login": "string",      "scopes": [        "string"      ],      "connected_at": "2019-08-24T14:15:22Z",      "owned_workspaces": 0    }  ]}