REST APIGit
List the team's default repositories
Repositories every new workspace of the team may use through the git proxy.
Generated from
openapi/harthelm.yaml at v1.5.0GET
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.
team*integerNumeric resource id.
Format
int64Range
1 <= valuelimit?integerMaximum number of items per page.
Range
1 <= value <= 200Default
50cursor?stringOpaque cursor from next_cursor of the previous page.
Length
length <= 1024A page of default repositories.
application/json- response
next_cursor?stringAbsent on the last page.
items*array<>curl -X GET 'https://console.example.com/api/v1/teams/1/git-access'{ "next_cursor": "string", "items": [ { "provider": "string", "repo": "string", "access": "read", "origin": true, "added_by": 1, "created_at": "2019-08-24T14:15:22Z" } ]}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.
List the repositories the workspace may use
The git proxy allows exactly these repositories for the workspace.