Preview more complete workflows for Pull Requests in GraphQL

To go with our recent issues preview, we're releasing a more exhaustive Pull Request API in GraphQL to enable you to close or merge pull requests.

For a more complete list of new objects and mutations made available during this preview, please refer to the GraphQL docs.

To access this new API during the preview period, you must provide a custom media type in the Accept header:

  application/vnd.github.ocelot-preview

Note: GraphQL APIs under preview cannot be accessed via the GraphQL Explorer at this time.

During the preview period, we may change aspects of these APIs based on developer feedback. If we do, we will announce the changes here on the developer blog, but we will not provide any advance notice.

If you have any questions or feedback of other interactions you might like for issues, please let us know!