MorningReportResponse
Response model for morning report
Properties
| Property | Type | Required | Description |
|---|---|---|---|
status | string | β Yes | - |
message | string | β Yes | - |
timestamp | string | β Yes | - |
sheet_url | object | β No | - |
report_sent | boolean | β No | - |
Example
{
"status": "example",
"message": "example",
"timestamp": "example",
"sheet_url": {},
"report_sent": false
}Used In
Code Examples
TypeScript
interface MorningReportResponse {
status: string;
message: string;
timestamp: string;
sheet_url?: any;
report_sent?: boolean;
}
// Usage example
const data: MorningReportResponse = {
"status": "example",
"message": "example",
"timestamp": "example",
"sheet_url": {},
"report_sent": false
};Python
from data_layer.schemas import MorningReportResponse
# Create instance
data = MorningReportResponse(
# 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", "message": "example", "timestamp": "example", "sheet_url": {}, "report_sent": false }'Validation Rules
Required Fields: status, message, timestamp
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.