AlertStatus
System alert status
Properties
| Property | Type | Required | Description |
|---|---|---|---|
alert_id | string | β Yes | - |
severity | string | β Yes | - |
message | string | β Yes | - |
timestamp | string | β Yes | - |
resolved | boolean | β Yes | - |
Example
{
"alert_id": "example",
"severity": "example",
"message": "example",
"timestamp": "example",
"resolved": false
}Used In
Not used in any documented endpoints.
Code Examples
TypeScript
interface AlertStatus {
alert_id: string;
severity: string;
message: string;
timestamp: string;
resolved: boolean;
}
// Usage example
const data: AlertStatus = {
"alert_id": "example",
"severity": "example",
"message": "example",
"timestamp": "example",
"resolved": false
};Python
from data_layer.schemas import AlertStatus
# Create instance
data = AlertStatus(
# 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 '{ "alert_id": "example", "severity": "example", "message": "example", "timestamp": "example", "resolved": false }'Validation Rules
Required Fields: alert_id, severity, message, timestamp, resolved
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.