HealthResponse
Health check response
Properties
| Property | Type | Required | Description |
|---|---|---|---|
status | string | β Yes | - |
timestamp | string | β Yes | - |
services | object | β Yes | - |
Example
{
"status": "example",
"timestamp": "example",
"services": {}
}Used In
Code Examples
TypeScript
interface HealthResponse {
status: string;
timestamp: string;
services: Record<string, any>;
}
// Usage example
const data: HealthResponse = {
"status": "example",
"timestamp": "example",
"services": {}
};Python
from data_layer.schemas import HealthResponse
# Create instance
data = HealthResponse(
# Add your field values here
)cURL
curl -X POST "https://altsportsleagues-backend-2qcdjegnaa-uc.a.run.app/api/endpoint" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "status": "example", "timestamp": "example", "services": {} }'Validation Rules
Required Fields: status, timestamp, services
Additional Information
- Type: object
- Source: Generated from Pydantic models in
data_layer/schemas/ - Auto-validated: All fields are validated by FastAPI
This documentation is auto-generated from the OpenAPI specification.