Rivier/ Reference/ hosting

Hosting coder github repos

get/hosting/coder/github/repos

The GitHub repositories the signed-in person connected to Praecise Cloud's GitHub app, and where to connect more. Says when import from GitHub is not switched on yet.

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:read
Sdk
hosting.coderGithub.repos
Cli
hosting coder github repos

Responses

  • 200application/json
    Success
    • availablebooleanrequired
      False while import from GitHub is not switched on at Praecise Cloud
    • connectstringrequired
      Where the person connects GitHub to Praecise Cloud, in a browser
    • installationslist of objectrequired
      • accountstringrequired
      • suspendedbooleanrequired
    • repositorieslist of objectrequired
      • idnumberrequired
      • namestringrequired
      • privatebooleanrequired
      • default_branchstringrequired
  • 400application/json
    The request was malformed
    • errorstringrequired
    • messagestring
  • 401application/json
    No valid credential
    • errorstringrequired
    • messagestring
  • 403application/json
    The credential lacks the scope, origin or address
    • errorstringrequired
    • messagestring
  • 429application/json
    Over the key's rate limit; see Retry-After
    • errorstringrequired
    • messagestring

This page as Markdown