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 --header {{Accept:application/vnd.github.squirrel-girl-preview+json}} --raw-field '{{content=+1}}' {{repos/:owner/:repo/issues/123/reactions}}

gh api graphql --field {{name=':repo'}} --raw-field '{{query}}'

gh api --method {{POST}} {{endpoint}}

gh api --include {{endpoint}}

gh api --silent {{endpoint}}

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

gh api --help