Additional endpoints available for GitHub Apps
As part of the ongoing audit of the availability of REST API endpoints for GitHub Apps, we've enabled another batch of endpoints. For a complete list of endpoints enabled for GitHub Apps, see "Available endpoints".
Recently enabled endpoints
The newly enabled endpoints available now include:
PUT /repos/:owner/:repo/import
GET /repos/:owner/:repo/import
PATCH /repos/:owner/:repo/import
DELETE /repos/:owner/:repo/import
GET /repos/:owner/:repo/import/authors
PATCH /repos/:owner/:repo/import/authors/:author_id
GET /repos/:owner/:repo/import/large_files
PATCH /repos/:owner/:repo/import/lfs
GET /repos/:owner/:repo/events
GET /orgs/:org/outside_collaborators
DELETE /orgs/:org/outside_collaborators/:user
PUT /orgs/:org/outside_collaborators/:user
GET /feeds
POST /markdown
POST /markdown/raw
GET /meta
GET /repos/:owner/:repo/issues/:issue_number/timeline
- `GET /users/:username/repos
Additionally, the following endpoints are now available for user-to-server requests:
PUT /repos/:owner/:repo/import
PATCH /repos/:owner/:repo/import
DELETE /repos/:owner/:repo/import
PATCH /repos/:owner/:repo/import/authors/:author_id
PATCH /repos/:owner/:repo/import/lfs
POST /repos/:owner/:repo/commits/:sha/comments
PATCH /repos/:owner/:repo/comments/:id
DELETE /repos/:owner/:repo/comments/:id
GET /orgs/:org/repos
POST /user/repos
GET /repos/:owner/:repo/teams
DELETE /repos/:owner/:repo/issues/comments/:id
PATCH /repos/:owner/:repo/issues/comments/:id
DELETE /repos/:owner/:repo/issues/:number/assignees
POST /repos/:owner/:repo/issues/:number/assignees
PUT /repos/:owner/:repo/issues/:number/lock
DELETE /repos/:owner/:repo/issues/:number/lock
DELETE /repos/:owner/:repo/issues/:id/labels
PUT /repos/:owner/:repo/issues/:id/labels
DELETE /repos/:owner/:repo/issues/:id/labels/(.*?)
POST /repos/:owner/:repo/labels
DELETE /repos/:owner/:repo/labels/(.*?)
PATCH /repos/:owner/:repo/labels/(.*?)
DELETE /orgs/:org/outside_collaborators/:user
PUT /orgs/:org/outside_collaborators/:user
GET /feeds
POST /repos/:owner/:repo/comments/:id/reactions
POST /repos/:owner/:repo/issues/:number/reactions
POST /repos/:owner/:repo/issues/comments/:id/reactions
GET /repos/:owner/:repo/pulls/comments/:id/reactions
POST /repos/:owner/:repo/pulls/comments/:id/reactions
DELETE /reactions/:reaction_id
PUT /repositories/:repository_id/collaborators/:username
DELETE /repositories/:repository_id/collaborators/:username
DELETE /repos/:owner/:repo
PATCH /repos/:owner/:repo
POST /repos/:owner/:repo/merges
How can I try it?
To access this functionality, you’ll need to provide the following custom media type in the Accept
header:
application/vnd.github.machine-man-preview+json
What about other endpoints?
We're actively working on enabling more endpoints. Check back on the developer blog for updates when new batches become available. If you have specific requests or feedback, come chat with us in the Platform forum.