Add scheduled events to the calendar
Added in 6.2.0
Path parameters
-
calendar_id
string Required A string that uniquely identifies a calendar.
POST
/_ml/calendars/{calendar_id}/events
curl \
--request POST 'http://api.example.com/_ml/calendars/{calendar_id}/events' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"events":[{"calendar_id":"string","event_id":"string","description":"string","":"string","skip_result":true,"skip_model_update":true,"force_time_shift":42.0}]}'
Request examples
{
"events": [
{
"calendar_id": "string",
"event_id": "string",
"description": "string",
"": "string",
"skip_result": true,
"skip_model_update": true,
"force_time_shift": 42.0
}
]
}
Response examples (200)
{
"events": [
{
"calendar_id": "string",
"event_id": "string",
"description": "string",
"": "string",
"skip_result": true,
"skip_model_update": true,
"force_time_shift": 42.0
}
]
}