Skip to content

Commit

Permalink
[DOCS] Fixes ML get calendars API (#78808) (#78858)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Oct 7, 2021
1 parent c859302 commit b3dcf04
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions docs/reference/ml/apis/get-calendar.asciidoc
Expand Up @@ -28,13 +28,26 @@ You can get information for a single calendar or for all calendars by using
(string) Identifier for the calendar.


==== Query Parameters

`from`::
(Optional, integer) Skips the specified number of calendars. This parameter
is supported only when you omit the `<calendar_id>`. Defaults to `0`.

`size`::
(Optional, integer) Specifies the maximum number of calendars to obtain.
This parameter is supported only when you omit the `<calendar_id>`. Defaults
to `100`.

==== Request Body

`from`:::
(integer) Skips the specified number of calendars.
`page.from`:::
(integer) Skips the specified number of calendars. This object is
supported only when you omit the `<calendar_id>`. Defaults to `0`.

`size`:::
(integer) Specifies the maximum number of calendars to obtain.
`page.size`:::
(integer) Specifies the maximum number of calendars to obtain. This object
is supported only when you omit the `<calendar_id>`. Defaults to `100`.


==== Results
Expand Down

0 comments on commit b3dcf04

Please sign in to comment.