morning-report API
Endpoints for morning-report operations.
Endpoints
POST /api/morning-report
Trigger Morning Report
Trigger morning report generation and sync
This endpoint is called by Cloud Scheduler daily at 8 AM. It syncs league pipeline data to Google Sheets and sends an email report.
Args: request: Morning report configuration background_tasks: FastAPI background tasks
Returns: MorningReportResponse with status and details
Request Body
{}Responses
200: Successful Response
422: Validation Error
Examples
curl -X POST "https://api.altsportsdata.com/api/morning-report" \
-H "Content-Type: application/json" \
-d '{}'