PipelineStageChangeRequest
Request to change pipeline stage
Properties
| Property | Type | Required | Description |
|---|---|---|---|
league_id | string | β Yes | - |
new_stage | string | β Yes | - |
reason | string | β 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.