💾 Archived View for freeshell.de › tldr › gh-api.gmi captured on 2023-09-28 at 16:29:03. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Makes authenticated HTTP requests to the GitHub API and prints the response.
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}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).