Skip to main content

Module orders

Module orders 

Source
Expand description

/api/orders — the orders across every mounted endpoint, and revocation.

Each handler is extractor, an admin operation shared with the CLI and the /ui pages, and admin::render’s JSON, so the three cannot describe one row differently. Revocation goes through the same queue and ledger POST /revokeCert does; this process holds no signing backend.

Structs§

OrderListParams
The window fields are inline, not #[serde(flatten)] — see the note on super::accounts::AccountListParams.
RevokeRequest
The optional body of POST /api/orders/{id}/revoke.

Functions§

delete_order
DELETE /api/orders/{id} — hard delete, cascading to its authorizations.
get_order
GET /api/orders/{id} — the order plus its authorizations and challenges.
list_orders
GET /api/orders?profile=&accountId=&status=&identifier=&identifierContains=&certSerial=&limit=&offset=
revoke_order
POST /api/orders/{id}/revoke