Skip to content

Instantly share code, notes, and snippets.

@alvaroaleman
Created October 27, 2020 20:00
Show Gist options
  • Save alvaroaleman/71867bda4e06a8b90cace8da96d26dbb to your computer and use it in GitHub Desktop.
Save alvaroaleman/71867bda4e06a8b90cace8da96d26dbb to your computer and use it in GitHub Desktop.
We can make this file beautiful and searchable if this error is corrected: It looks like row 24 should actually have 6 columns, instead of 7 in line 23.
endpoint,method,supported by apps,apps alternate docs link,docs link,notes
/user,get,false,https://docs.github.com/en/free-pro-team@latest/rest/reference/apps#get-the-authenticated-app,https://docs.github.com/en/free-pro-team@latest/rest/reference/users#get-the-authenticated-user,alternate does not return an email
/orgs/%s/members/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#get-organization-membership-for-a-user,
/repos/%s/%s/hooks,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-repository-webhooks,
/orgs/%s/hooks,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#list-organization-webhooks,
/repos/%s/%s/hooks/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#update-a-repository-webhook,
/orgs/%s/hooks/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#update-an-organization-webhook,
/repos/%s/%s/hook,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-a-repository-webhook,
/orgs/%s/hooks,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#create-an-organization-webhook,
/repos/%s/%s/hooks/%d,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#delete-a-repository-webhook,
/orgs/%s/hooks/%d,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#delete-an-organization-webhook,
/orgs/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#get-an-organization,
/orgs/%s,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#update-an-organization,
/orgs/%s/invitations,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#list-pending-organization-invitations,
/orgs/%s/members,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#list-organization-members,
/repos/%s/%s/collaborators/%s/permission,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-repository-permissions-for-a-user,
/orgs/%s/memberships/%s,put,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#set-organization-membership-for-a-user,
/orgs/%s/memberships/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/orgs#remove-organization-membership-for-a-user,
/repos/%s/%s/issues/%d/comments,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#create-an-issue-comment,
/repos/%s/%s/issues/comments/%d,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#delete-an-issue-comment,
/repos/%s/%s/issues/comments/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue-comment,
/repos/%s/%s/issues/comments/%d/reactions,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/reactions#create-reaction-for-an-issue-comment,
/repos/%s/%s/issues,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#create-an-issue,
/repos/%s/%s/issues/%d/reactions,post,false,,https://docs.github.com/en/free-pro-team@latest/rest/reference/reactions#create-reaction-for-an-issue,preview api, might be solveable via create issue comment reaction?
/repos/%s/%s/issues/%d/comments,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-issue-comments,
/repos/%s/%s/issues,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-repository-issues,
/repos/%s/%s/pulls,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#list-pull-requests,
/repos/%s/%s/pulls/%d,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#get-a-pull-request,
/repos/%s/%s/pulls/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#update-a-pull-request,
/repos/%s/%s/issues/%d,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#get-an-issue,
/repos/%s/%s/issues/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue,
/repos/%s/%s/pulls/%d,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#get-a-pull-request,get pull request patch, controlled via media type application/vnd.github.VERSION.patch
/repos/%s/%s/pulls,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#create-a-pull-request,
/repos/%s/%s/pulls/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#update-a-pull-request,
/repos/%s/%s/pulls/%d/files,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#list-pull-requests-files,
/repos/%s/%s/pulls/%d/comments,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#list-review-comments-on-a-pull-request,
/repos/%s/%s/pulls/%d/reviews,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#list-reviews-for-a-pull-request,
/repos/%s/%s/statuses/%s,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-a-commit-status,
/repos/%s/%s/statuses/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-commit-statuses-for-a-reference,
/repos/%s/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-a-repository,
/orgs/%s/repos,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-an-organization-repository,
/repos/%s/%s,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#update-a-repository,
/users/%s/repos,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-repositories-for-a-user,
/orgs/%s/repos,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-organization-repositories,
/repos/%s/%s/commits/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-a-commit,
/repos/%s/%s/branches,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-branches,
/repos/%s/%s/branches/%s/protection,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-branch-protection,
/repos/%s/%s/branches/%s/protection,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#delete-branch-protection,
/repos/%s/%s/branches/%s/protection,put,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#update-branch-protection,
/repos/%s/%s/labels,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#create-a-label,
/repos/%s/%s/labels/%s,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-a-label,
/repos/%s/%s/labels/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#delete-a-label,
/repos/%s/%s/commits/%s/status,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-the-combined-status-for-a-specific-reference,
/repos/%s/%s/labels,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-labels-for-a-repository,
/repos/%s/%s/issues/%d/labels,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-labels-for-an-issue,
/repos/%s/%s/issues/%d/labels,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#add-labels-to-an-issue,
/repos/%s/%s/issues/%d/labels/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#remove-a-label-from-an-issue,
/repos/%s/%s/issues/%d/assignees,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#add-assignees-to-an-issue,
/repos/%s/%s/issues/%d/assignees,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#remove-assignees-from-an-issue,
/repos/%s/%s/pulls/%d/reviews,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#create-a-review-for-a-pull-request,
/repos/%s/%s/pulls/%d/requested_reviewers,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#request-reviewers-for-a-pull-request,
/repos/%s/%s/pulls/%d/requested_reviewers,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#remove-requested-reviewers-from-a-pull-request,
/repos/%s/%s/issues/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue,close issue
/repos/%s/%s/issues/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue,reopen issue
/repos/%s/%s/pulls/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#update-a-pull-request,close pr
/repos/%s/%s/pulls/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#update-a-pull-request,open pr
/repos/%s/%s/git/refs/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/git#get-a-reference,
/repos/%s/%s/git/refs/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/git#delete-a-reference,
/search/issues?q=%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/search#search-issues-and-pull-requests,
/repos/%s/%s/contents/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#get-repository-content,
/orgs/%s/teams,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#create-a-team,
/teams/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#update-a-team-legacy,legacy api
/teams/%d,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#delete-a-team-legacy,legacy api
/orgs/%s/teams,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#list-teams,
/teams/%d/memberships/%s,put,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#add-or-update-team-membership-for-a-user-legacy,
/teams/%d/memberships/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#remove-team-member-legacy,
/teams/%d/members,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#list-team-members-legacy,
/teams/%d/repos,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#list-team-repositories-legacy,
/teams/%d/repos/%s/%s,put,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#add-or-update-team-repository-permissions-legacy,
/teams/%d/repos/%s/%s,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#remove-a-repository-from-a-team-legacy,
/teams/%d/invitations,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#list-pending-team-invitations,
/repos/%s/%s/pulls/%d/merge,put,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#merge-a-pull-request,
/repos/%s/%s/collaborators/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#check-if-a-user-is-a-repository-collaborator,
/repos/%s/%s/collaborators,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-repository-collaborators,
/repos/%s/%s/forks,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#create-a-fork
/repos/%s/%s/teams,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-repository-teams,
/repos/%s/%s/issues/%d/events,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-issue-events,
/repos/%v/%v/issues/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue,clear milestone
/repos/%v/%v/issues/%d,patch,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#update-an-issue,set milestone
/repos/%s/%s/milestones,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/issues#list-milestones,
/repos/%v/%v/pulls/%d/commits,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/pulls#list-commits-on-a-pull-request,
/repos/%s/%s/projects,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#list-repository-projects,
/orgs/%s/projects,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#list-organization-projects,
/projects/%d/columns,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#list-project-columns,
/projects/columns/%d/cards,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#create-a-project-card,
/projects/columns/%d/cards,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#list-project-cards,
/projects/columns/cards/%d/moves,post,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#move-a-project-card,
/projects/columns/cards/:%d,delete,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/projects#delete-a-project-card,
/orgs/%s/teams/%s,get,true,,https://docs.github.com/en/free-pro-team@latest/rest/reference/teams#get-a-team-by-name,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment