Expand description
API entities — DTOs and query parameter types.
These types form the public API contract. They map from internal store models and are never exposed directly.
Re-exports§
pub use lease::DEFAULT_LEASE_TTL_SECS;pub use lease::MAX_LEASE_TTL_SECS;pub use lease::RenewLeaseRequest;pub use lease::RenewLeaseResponse;pub use lease::validate_lease_ttl;
Modules§
- lease
- Worker lease request/response types for the internal routes.
Structs§
- Artifact
Response - An artifact as exposed by the REST API.
- Create
RunRequest - Request to trigger a workflow.
- Create
User Request - Request body for creating a user (admin only).
- Created
By - The author of a run, as exposed by the API.
- KeyVersions
Response - How the configured key ring lines up with the stored secrets.
- List
Runs Query - Query parameters for listing runs.
- MeResponse
- Current user profile response.
- Rotate
Secrets Request - Request body for rotating a batch of secrets to another key version.
- Rotate
Secrets Response - Outcome of one rotation batch.
- RunDetail
Response - Run detail response — includes steps and payload.
- RunResponse
- Run response DTO — public API representation of a run.
- Secret
Response - Response DTO for a secret (never exposes the value).
- SetSecret
Request - Request body for creating or updating a secret.
- Sign
InRequest - Sign-in request body.
- Sign
UpRequest - Sign-up request body.
- Stats
Response - Aggregate statistics response.
- Step
Response - Step response DTO — public API representation of a step.
- Update
Role Request - Request body for updating a user’s role (admin only).
- User
Response - Response DTO for a user (never exposes password hash).
Enums§
- Created
ByKind - What kind of principal triggered a run.
- Idempotency
KeyError - Why an
Idempotency-Keyheader value was rejected.
Functions§
- validate_
idempotency_ key - Validate an
Idempotency-Keyheader value.