Skip to main content

Module api

Module api 

Source
Expand description

API access.

This is the only part of the crate that talks to GitHub. The pure reconciliation planner in ephemeris_forge, and this crate’s own reconcile::Client, work on the types declared here.

Re-exports§

pub use self::operations::Api;

Modules§

error 🔒
http 🔒
Authenticated GitHub REST transport and wire conversion.
model
GitHub repository and ruleset data types, and the wire shapes they are decoded from.
operations
The GitHub API surface used by the reconciliation client.
request
Request bodies.

Structs§

FieldRejection
A problem in object form.
HttpApi
GitHub’s HTTP implementation of super::Api.
Rejection
The error body GitHub answers a rejected request with.

Enums§

ForgeError
Anything that stops a GitHub request from producing a usable answer.
RejectionBody
What GitHub answered a rejected request with.
RejectionDetail
One problem in a Rejection. GitHub sends an object or a plain string, depending on the endpoint.