PipelineStatsResponse
PipelineStatsResponse data model
Properties
| Property | Type | Required | Description |
|---|---|---|---|
total_leagues | integer | β Yes | - |
total_pipeline_entries | integer | β Yes | - |
active_entries | integer | β Yes | - |
stage_distribution | object | β Yes | - |
priority_distribution | object | β Yes | - |
recent_activity_count | integer | β Yes | - |
Example
{
"total_leagues": 0,
"total_pipeline_entries": 0,
"active_entries": 0,
"stage_distribution": {},
"priority_distribution": {},
"recent_activity_count": 0
}Used In
Code Examples
TypeScript
interface PipelineStatsResponse {
total_leagues: number;
total_pipeline_entries: number;
active_entries: number;
stage_distribution: Record<string, any>;
priority_distribution: Record<string, any>;
recent_activity_count: number;
}
// Usage example
const data: PipelineStatsResponse = {
"total_leagues": 0,
"total_pipeline_entries": 0,
"active_entries": 0,
"stage_distribution": {},
"priority_distribution": {},
"recent_activity_count": 0
};Python
from data_layer.schemas import PipelineStatsResponse
# Create instance
data = PipelineStatsResponse(
# 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 '{ "total_leagues": 0, "total_pipeline_entries": 0, "active_entries": 0, "stage_distribution": {}, "priority_distribution": {}, "recent_activity_count": 0 }'Validation Rules
Required Fields: total_leagues, total_pipeline_entries, active_entries, stage_distribution, priority_distribution, recent_activity_count
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.