Skip to content

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

Answered by gsmet
kanimaru asked this question in Q&A
Discussion options

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 7 replies

Comment options

You must be logged in to vote
2 replies
@kanimaru
Comment options

@gsmet
Comment options

Answer selected by kanimaru
Comment options

You must be logged in to vote
5 replies
@gsmet
Comment options

@gsmet
Comment options

@kanimaru
Comment options

@gsmet
Comment options

@kanimaru
Comment options

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