Schema Registry
PipelineStageChangeRequest

PipelineStageChangeRequest

Request to change pipeline stage

Properties

PropertyTypeRequiredDescription
league_idstringβœ… Yes-
new_stagestringβœ… Yes-
reasonstring❌ No-

Example

{
  "league_id": "example",
  "new_stage": "example",
  "reason": "example"
}

Used In

Code Examples

TypeScript

interface PipelineStageChangeRequest {
  league_id: string;
  new_stage: string;
  reason?: string;
}
 
// Usage example
const data: PipelineStageChangeRequest = {
  "league_id": "example",
  "new_stage": "example",
  "reason": "example"
};

Python

from data_layer.schemas import PipelineStageChangeRequest
 
# Create instance
data = PipelineStageChangeRequest(
    # 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 '{   "league_id": "example",   "new_stage": "example",   "reason": "example" }'

Validation Rules

Required Fields: league_id, new_stage

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.

Platform

Documentation

Community

Support

partnership@altsportsdata.comdev@altsportsleagues.ai

2025 Β© AltSportsLeagues.ai. Powered by AI-driven sports business intelligence.

πŸ€– AI-Enhancedβ€’πŸ“Š Data-Drivenβ€’βš‘ Real-Time