Skip to main content
GET
Who you are on GitHub, and where Patch's GitHub App is installed for you

Authorizations

Authorization
string
header
required

An API key (pch_...) or the token from pch login.

Response

Your GitHub link

linked
boolean
required

Whether Patch knows who you are on GitHub

install_url
string<uri>
required

Patch's page that sends a browser to GitHub's install page for the app, and back: connect github once you're linked, and add an account. Add ?return_to=<a page here>, and from Patch Desktop &scheme=<its link scheme>

sign_in_url
string<uri>
required

Patch's page that sends a browser to GitHub's sign-in for the app, and back: connect github until you're linked. It comes back with who you are whether or not the app is installed anywhere, and goes on to the install page where it's on none of your accounts. Add ?return_to=<a page here>, and from Patch Desktop &scheme=<its link scheme>

installations
object[]
required

The app's installations you can reach, as GitHub lists them

requests
object[]
required

Your requests that an owner install the app: waiting on an owner

login
string

Your GitHub login, once linked

id
integer

Your GitHub user id, once linked. A chat's commits to GitHub are authored as you with it: <id>+<login>@users.noreply.github.com

Example:

12345678