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`.
openapi/harthelm.yaml at v1.5.0__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.
limit?integerMaximum number of items per page.
1 <= value <= 20050cursor?stringOpaque cursor from next_cursor of the previous page.
length <= 1024A page of connections.
application/json- response
next_cursor?stringAbsent 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 } ]}The calling user
Who the credentials belong to, with the cluster-admin flag; the UI and `hart whoami` read it. Answers 401 without a valid session or API key.
Accept an invitation by its link's token
The console's `/invite/<token>` page posts the token after sign-in. The caller's verified email must be the invited one (403 `invite-email-mismatch`): the link is a way in, not a credential. 409 `invite-invalid` for an unknown token or an invitation that was revoked, has expired, or was accepted by someone else (or by the caller who has left its target since). The sign-in accepts pending invitations of the verified email before this page posts, so the caller's own acceptance answers 200 again with the same invitation.