2018-01-25 00:14:23 +08:00
|
|
|
[role="xpack"]
|
2018-09-01 07:49:24 +08:00
|
|
|
[testenv="platinum"]
|
2018-01-25 00:14:23 +08:00
|
|
|
[[ml-event-resource]]
|
2018-12-21 02:23:28 +08:00
|
|
|
=== Scheduled event resources
|
2018-01-25 00:14:23 +08:00
|
|
|
|
|
|
|
An events resource has the following properties:
|
|
|
|
|
|
|
|
`calendar_id`::
|
|
|
|
(string) An identifier for the calendar that contains the scheduled
|
|
|
|
event. This property is optional in the <<ml-post-calendar-event>>.
|
|
|
|
|
|
|
|
`description`::
|
|
|
|
(string) A description of the scheduled event.
|
|
|
|
|
|
|
|
`end_time`::
|
2019-03-11 18:01:02 +08:00
|
|
|
(date) The timestamp for the end of the scheduled event
|
|
|
|
in milliseconds since the epoch or ISO 8601 format.
|
2018-01-25 00:14:23 +08:00
|
|
|
|
|
|
|
`event_id`::
|
|
|
|
(string) An automatically-generated identifier for the scheduled event.
|
|
|
|
|
|
|
|
`start_time`::
|
2019-03-11 18:01:02 +08:00
|
|
|
(date) The timestamp for the beginning of the scheduled event
|
|
|
|
in milliseconds since the epoch or ISO 8601 format.
|
2018-01-25 00:14:23 +08:00
|
|
|
|
|
|
|
For more information, see
|
2019-10-05 07:10:26 +08:00
|
|
|
{stack-ov}/ml-calendars.html[Calendars and Scheduled Events].
|