api Makes authenticated HTTP requests to the GitHub API and…
Makes authenticated HTTP requests to the GitHub API and prints the response. More information: https://cli.github.com/manual/gh_api.
gh api --help
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}}