Skip to main content

Module api

Module api 

Source
Expand description

API access.

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

Re-exports§

pub use self::operations::Api;

Modules§

error 🔒
http 🔒
model
Response types vendored by hand from the pinned swagger.v1.json.
operations
The Forgejo API surface used by the reconciliation client.
request
Request bodies vendored by hand from the pinned swagger.v1.json.

Structs§

HttpApi
Forgejo’s HTTP implementation of Api.

Enums§

ForgeError
Anything that stops a Forgejo request from producing a usable answer.