GitHub GraphQL is annoying AF.
These are some sample queries that I have needed to do and am logging it here so I don't forget them.
API endpoint: https://api.github.com/graphql
, Method: POST
. Authorization requires a Bearer token, and apparently:
Personal access tokens with fine grained access do not support the GraphQL API
... So that's lame! (as of November 2022)