Schema Registry
PipelineUpdateRequest

PipelineUpdateRequest

PipelineUpdateRequest data model

Properties

PropertyTypeRequiredDescription
league_idstringβœ… YesLeague ID to update
new_stageobjectβœ… YesNew pipeline stage
reasonstring❌ NoReason for stage change
userstring❌ NoUser making the change
notesobject❌ NoAdditional notes

Example

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

Used In

Code Examples

TypeScript

interface PipelineUpdateRequest {
  league_id: string;
  new_stage: any;
  reason?: string;
  user?: string;
  notes?: any;
}
 
// Usage example
const data: PipelineUpdateRequest = {
  "league_id": "example",
  "new_stage": {},
  "reason": "example",
  "user": "example",
  "notes": {}
};

Python

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

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