Harthelm Docs

Search the caller's repositories

Repositories the caller can read at the provider, through the caller's connection. Answers 409 with problem `git-connection-required` when the caller has not connected the provider.

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

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

provider*string

Provider id from GET /git/providers.

q?string

Search term matched against the repository name.

Lengthlength <= 200
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 repositories.

application/json
  1. response
next_cursor?string

Absent on the last page.

items*array<>
curl -X GET 'https://console.example.com/api/v1/git/repos?provider=string'
{  "next_cursor": "string",  "items": [    {      "provider": "string",      "full_name": "string",      "description": "string",      "default_branch": "string",      "private": true,      "permission": "read",      "updated_at": "2019-08-24T14:15:22Z"    }  ]}