TimeSeriesConfig
TimeSeriesConfig data model
Properties
| Property | Type | Required | Description |
|---|---|---|---|
sampling_mode | string | β No | - |
unit | string | β No | - |
frequency | integer | β No | - |
max_samples | integer | β No | - |
include_frames | boolean | β No | - |
Example
{
"sampling_mode": "example",
"unit": "example",
"frequency": 0,
"max_samples": 0,
"include_frames": false
}Used In
Not used in any documented endpoints.
Code Examples
TypeScript
interface TimeSeriesConfig {
sampling_mode?: string;
unit?: string;
frequency?: number;
max_samples?: number;
include_frames?: boolean;
}
// Usage example
const data: TimeSeriesConfig = {
"sampling_mode": "example",
"unit": "example",
"frequency": 0,
"max_samples": 0,
"include_frames": false
};Python
from data_layer.schemas import TimeSeriesConfig
# Create instance
data = TimeSeriesConfig(
# 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 '{ "sampling_mode": "example", "unit": "example", "frequency": 0, "max_samples": 0, "include_frames": false }'Validation Rules
No specific validation rules.
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.