[DOCS] Add data streams to deprecation info API docs (#58685) (#58920)

This commit is contained in:
James Rodewig 2020-07-02 09:52:33 -04:00 committed by GitHub
parent 6436792aac
commit 04ff24ca8e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 7 deletions

View File

@ -20,15 +20,18 @@ be removed or changed in the next major version.
`GET /_migration/deprecations` + `GET /_migration/deprecations` +
`GET /<index_name>/_migration/deprecations` `GET /<target>/_migration/deprecations`
[[migration-api-path-params]] [[migration-api-path-params]]
==== {api-path-parms-title} ==== {api-path-parms-title}
`index_name`:: `<target>`::
(Optional, string) Identifier for the index. It can be an index name or a (Optional, string)
wildcard expression. When you specify this parameter, only index-level Comma-separate list of data streams or indices to check. Wildcard (`*`)
deprecations for the specified indices are returned. expressions are supported.
+
When you specify this parameter, only deprecations for the specified
data streams or indices are returned.
[[migration-api-example]] [[migration-api-example]]
==== {api-examples-title} ==== {api-examples-title}
@ -108,8 +111,9 @@ key. Similarly, any node-level warnings are found under `node_settings`. Since
only a select subset of your nodes might incorporate these settings, it is only a select subset of your nodes might incorporate these settings, it is
important to read the `details` section for more information about which nodes important to read the `details` section for more information about which nodes
are affected. Index warnings are sectioned off per index and can be filtered are affected. Index warnings are sectioned off per index and can be filtered
using an index-pattern in the query. Machine Learning related deprecation using an index-pattern in the query. This section includes warnings for the
warnings can be found under the `ml_settings` key. backing indices of data streams specified in the request path. Machine Learning
related deprecation warnings can be found under the `ml_settings` key.
The following example request shows only index-level deprecations of all The following example request shows only index-level deprecations of all
`logstash-*` indices: `logstash-*` indices: