Skip to content

Commit f8bd3b2

Browse files
authored
[DOCS] Fixes ML get calendars API (#78808) (#78856)
1 parent e868a02 commit f8bd3b2

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

docs/reference/ml/anomaly-detection/apis/get-calendar.asciidoc

+16-2
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,29 @@ For more information, see
3939
(Required, string)
4040
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=calendar-id]
4141

42+
[[ml-get-calendar-query-parms]]
43+
== {api-query-parms-title}
44+
45+
`from`::
46+
(Optional, integer) Skips the specified number of calendars. This parameter
47+
is supported only when you omit the `<calendar_id>`. Defaults to `0`.
48+
49+
`size`::
50+
(Optional, integer) Specifies the maximum number of calendars to obtain.
51+
This parameter is supported only when you omit the `<calendar_id>`. Defaults
52+
to `100`.
53+
4254
[[ml-get-calendar-request-body]]
4355
== {api-request-body-title}
4456

4557
`page`.`from`::
46-
(Optional, integer) Skips the specified number of calendars. Defaults to `0`.
58+
(Optional, integer) Skips the specified number of calendars. This object is
59+
supported only when you omit the `<calendar_id>`. Defaults to `0`.
4760

4861
`page`.`size`::
4962
(Optional, integer) Specifies the maximum number of calendars to obtain.
50-
Defaults to `0`.
63+
This object is supported only when you omit the `<calendar_id>`. Defaults
64+
to `100`.
5165

5266
[[ml-get-calendar-results]]
5367
== {api-response-body-title}

0 commit comments

Comments
 (0)