gh api

Make authenticated HTTP requests to the GitHub API and print the response. More information: https://cli.github.com/manual/gh_api.

gh api repos/:owner/:repo/releases

gh api {{[-H|--header]}} {{Accept:application/vnd.github.squirrel-girl-preview+json}} {{[-f|--raw-field]}} '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}

gh api graphql {{[-f|--field]}} {{name=':repo'}} {{[-f|--raw-field]}} '{{query}}'

gh api {{[-X|--method]}} {{POST}} {{endpoint}}

gh api {{[--include]}} {{endpoint}}

gh api --silent {{endpoint}}

gh api --hostname {{github.example.com}} {{endpoint}}

gh api --help