2017-12-20 16:52:58 -05:00
|
|
|
[role="xpack"]
|
|
|
|
[[ml-put-calendar-job]]
|
|
|
|
=== Add Jobs to Calendar API
|
|
|
|
++++
|
|
|
|
<titleabbrev>Add Jobs to Calendar</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
2018-01-15 11:44:08 -05:00
|
|
|
This API enables you to add jobs to a calendar.
|
2017-12-20 16:52:58 -05:00
|
|
|
|
|
|
|
==== Request
|
|
|
|
|
|
|
|
`PUT _xpack/ml/calendars/<calendar_id>/jobs/<job_id>`
|
|
|
|
|
|
|
|
//===== Description
|
|
|
|
|
|
|
|
==== Path Parameters
|
|
|
|
|
|
|
|
`calendar_id` (required)::
|
|
|
|
(string) Identifier for the calendar.
|
|
|
|
|
2018-01-19 05:44:39 -05:00
|
|
|
//==== Request Body
|
|
|
|
|
2017-12-20 16:52:58 -05:00
|
|
|
`job_id` (required)::
|
|
|
|
(string) Identifier for the job.
|
|
|
|
|
2018-01-19 05:44:39 -05:00
|
|
|
`description`::
|
|
|
|
(string) A description of the calendar.
|
2017-12-20 16:52:58 -05:00
|
|
|
|
|
|
|
==== Authorization
|
|
|
|
|
|
|
|
You must have `manage_ml`, or `manage` cluster privileges to use this API.
|
|
|
|
For more information, see
|
|
|
|
{xpack-ref}/security-privileges.html[Security Privileges].
|
|
|
|
|
|
|
|
|
|
|
|
//==== Examples
|