Harthelm Docs

List Git providers

The providers this installation is configured for and whether the caller has connected each one. Connecting is a browser navigation to `/auth/git/{provider}/start?rd=<path>`.

Generated from openapi/harthelm.yaml at v1.5.0
GET
/git/providers

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 providers.

application/json
  1. response
next_cursor?string

Absent on the last page.

items*array<>
curl -X GET 'https://console.example.com/api/v1/git/providers'
{  "next_cursor": "string",  "items": [    {      "id": "string",      "kind": "gitea",      "name": "string",      "url": "string",      "connected": true,      "login": "string"    }  ]}