PipelineUpdateRequest
PipelineUpdateRequest data model
Properties
| Property | Type | Required | Description |
|---|---|---|---|
league_id | string | β Yes | League ID to update |
new_stage | object | β Yes | New pipeline stage |
reason | string | β No | Reason for stage change |
user | string | β No | User making the change |
notes | object | β No | Additional 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.