Skip to main content

Module environments

Module environments 

Source
Expand description

Environment DTOs.

Request/response types for the /api/v1/environments CRUD endpoints. The runtime state structs (EnvironmentsState, EnvironmentsRouterState) and the axum handler functions remain in the API crate.

Structs§

CreateEnvironmentRequest
Body for POST /api/v1/environments.
ListEnvironmentsQuery
Query for GET /api/v1/environments.
UpdateEnvironmentRequest
Body for PATCH /api/v1/environments/{id}. All fields are optional.