julee.api.responses¶
Pydantic models for API responses. These define the contract between the API and external clients.
Following clean architecture principles, most endpoints return domain models directly rather than creating wrapper response models. This file contains only response models that are specific to API concerns and not represented by existing domain models.
Classes¶
Response for health check endpoint. |
|
Health status for individual services. |
|
Service status enumeration. |
|
Overall system status enumeration. |
Module Contents¶
- class julee.api.responses.HealthCheckResponse(/, **data)[source]¶
Bases:
pydantic.BaseModelResponse for health check endpoint.
- services: ServiceHealthStatus[source]¶
- status: SystemStatus[source]¶
- class julee.api.responses.ServiceHealthStatus(/, **data)[source]¶
Bases:
pydantic.BaseModelHealth status for individual services.
- storage: ServiceStatus[source]¶
- temporal: ServiceStatus[source]¶