2019-03-27 08:40:39 -04:00
|
|
|
--
|
2019-09-20 18:57:43 -04:00
|
|
|
:api: get-transform
|
2019-09-25 01:38:17 -04:00
|
|
|
:request: GetTransformRequest
|
|
|
|
:response: GetTransformResponse
|
2019-03-27 08:40:39 -04:00
|
|
|
--
|
2019-09-11 14:21:45 -04:00
|
|
|
[role="xpack"]
|
2019-03-27 08:40:39 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 11:28:19 -04:00
|
|
|
=== Get {transform} API
|
2019-03-27 08:40:39 -04:00
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
Retrieves configuration information about one or more {transforms}.
|
2019-03-27 08:40:39 -04:00
|
|
|
The API accepts a +{request}+ object and returns a +{response}+.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 11:28:19 -04:00
|
|
|
==== Get {transform} request
|
2019-03-27 08:40:39 -04:00
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
A +{request}+ requires either a {transform} ID, a comma separated list
|
|
|
|
of ids or the special wildcard `_all` to get all {transforms}.
|
2019-03-27 08:40:39 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
2019-09-16 11:28:19 -04:00
|
|
|
<1> Constructing a new GET request referencing an existing {transform}
|
2019-03-27 08:40:39 -04:00
|
|
|
|
2019-07-25 13:08:38 -04:00
|
|
|
==== Optional arguments
|
2019-03-27 08:40:39 -04:00
|
|
|
|
|
|
|
The following arguments are optional.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request-options]
|
|
|
|
--------------------------------------------------
|
2019-05-07 13:03:06 -04:00
|
|
|
<1> The page parameters `from` and `size`. `from` specifies the number of
|
2019-09-16 11:28:19 -04:00
|
|
|
{transforms} to skip. `size` specifies the maximum number of
|
|
|
|
{transforms} to get. Defaults to `0` and `100` respectively.
|
|
|
|
<2> Whether to ignore if a wildcard expression matches no {transforms}.
|
2019-05-07 13:03:06 -04:00
|
|
|
|
2019-03-27 08:40:39 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
The returned +{response}+ contains the requested {transforms}.
|
2019-03-27 08:40:39 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
2019-09-25 01:38:17 -04:00
|
|
|
--------------------------------------------------
|