Skip to content

How to "Ready to Review" / undraft pull request #1578

Answered by gsmet
kanimaru asked this question in Q&A

You must be logged in to vote

Unfortunately, there's nothing you can do with the REST API, GitHub doesn't expose an endpoint for that (at least to my knowledge, I did another check and couldn't find something about it).

So what you need to do is use the GraphQL API which exposes a mutation for it: https://docs.github.com/en/graphql/reference/mutations#markpullrequestreadyforreview .

Some operations are only available in the REST API and some others are only available in the GraphQL API. That's a bit unfortunate but that's how it is.

I think I remember you asking questions in Quarkus GitHub App so if you are still using it, something like this should probably work (not tested):

Map<String, Object> variables = new HashM…

Replies: 2 comments 10 replies

You must be logged in to vote
5 replies
@kanimaru

@gsmet

@PedroDSFerreira

@bitwiseman

@PedroDSFerreira

Answer selected by kanimaru

You must be logged in to vote
5 replies
@gsmet

@gsmet

@kanimaru

@gsmet

@kanimaru

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants