1
0
Эх сурвалжийг харах

Fix Snapshot Docs Listing Query Params in Body Incorrectly (#74196)

Both of these APIs don't parse request bodies, the parameters are all taken
from the query string. Also, included the master timeout param include
as it was missing here also.
Armin Braun 4 жил өмнө
parent
commit
e8662e3cc0

+ 4 - 2
docs/reference/snapshot-restore/apis/get-snapshot-api.asciidoc

@@ -74,8 +74,10 @@ NOTE: Using `_all` in a request fails if any snapshots are unavailable.
 Set <<get-snapshot-api-ignore-unavailable,`ignore_unavailable`>> to `true` to return only available snapshots.
 
 [role="child_attributes"]
-[[get-snapshot-api-request-body]]
-==== {api-request-body-title}
+[[get-snapshot-api-query-params]]
+==== {api-query-parms-title}
+
+include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=master-timeout]
 
 [[get-snapshot-api-ignore-unavailable]]
 `ignore_unavailable`::

+ 4 - 2
docs/reference/snapshot-restore/apis/get-snapshot-status-api.asciidoc

@@ -115,8 +115,10 @@ To retrieve a list of all snapshots in a specified repository, omit this paramet
 NOTE: Wildcard (`*`) expressions are not supported for `<snapshot>`.
 
 [role="child_attributes"]
-[[get-snapshot-status-api-request-body]]
-==== {api-request-body-title}
+[[get-snapshot-status-api-query-params]]
+==== {api-query-parms-title}
+
+include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=master-timeout]
 
 `ignore_unavailable`::
 (Optional, Boolean)