API Reference gh_ex v#0.1.0

Copy Markdown View Source

Modules

A Req-based client for the GitHub REST and GraphQL APIs.

GitHub App authentication.

Credential handling.

The client struct: credentials, endpoints, and per-request Req options.

A normalized API error.

Generic GraphQL access. This is the whole GraphQL API: any query or mutation, including the corners REST cannot reach, such as Projects v2 and Discussions.

Metadata accompanying a successful GraphQL response.

Convenience functions for the GitHub Issues REST API.

Mints the short-lived JWT a GitHub App presents to authenticate as itself.

REST pagination via the Link header.

Convenience functions for the GitHub Pull Requests REST API.

Generic REST access. Any GitHub REST path is reachable through get/3, post/3, patch/3, put/3, and delete/3.

Metadata accompanying a successful REST response.

Rate-limit headers and an opt-in retry for GitHub's rate limits.

Builds the Req request shared by every API call.

Behaviour for caching minted installation access tokens.

Default GhEx.TokenCache: an ETS table owned by a GenServer.