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 for both server-to-server and user-to-server endpoints:

Check Runs

Create a check run

Get a single check run

Update a check run

List annotations for a check run

List check runs in a check suite

List check runs for a specific ref

Check Suites

Request check suites

Create a check suite

Get a single check suite

Set preferences for check suites on a repository

List check suites for a specific ref

Repo Hooks

List hooks

Delete a hook

Metadata

GET /

Recently enabled user-to-server endpoints:

Codes of Conduct

List all codes of conduct

Get an individual code of conduct

Source Imports

Get import progress

Repo Keys

List deploy keys

Get a deploy key

Repos

Compare two commits

List languages

List tags

List user repositories

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.