get_data_frame.asciidoc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --
  2. :api: get-data-frame-transform
  3. :request: GetDataFrameTransformRequest
  4. :response: GetDataFrameTransformResponse
  5. --
  6. [role="xpack"]
  7. [id="{upid}-{api}"]
  8. === Get {transform} API
  9. Retrieves configuration information about one or more {transforms}.
  10. The API accepts a +{request}+ object and returns a +{response}+.
  11. [id="{upid}-{api}-request"]
  12. ==== Get {transform} request
  13. A +{request}+ requires either a {transform} ID, a comma separated list
  14. of ids or the special wildcard `_all` to get all {transforms}.
  15. ["source","java",subs="attributes,callouts,macros"]
  16. --------------------------------------------------
  17. include-tagged::{doc-tests-file}[{api}-request]
  18. --------------------------------------------------
  19. <1> Constructing a new GET request referencing an existing {transform}
  20. ==== Optional arguments
  21. The following arguments are optional.
  22. ["source","java",subs="attributes,callouts,macros"]
  23. --------------------------------------------------
  24. include-tagged::{doc-tests-file}[{api}-request-options]
  25. --------------------------------------------------
  26. <1> The page parameters `from` and `size`. `from` specifies the number of
  27. {transforms} to skip. `size` specifies the maximum number of
  28. {transforms} to get. Defaults to `0` and `100` respectively.
  29. <2> Whether to ignore if a wildcard expression matches no {transforms}.
  30. include::../execution.asciidoc[]
  31. [id="{upid}-{api}-response"]
  32. ==== Response
  33. The returned +{response}+ contains the requested {transforms}.
  34. ["source","java",subs="attributes,callouts,macros"]
  35. --------------------------------------------------
  36. include-tagged::{doc-tests-file}[{api}-response]
  37. --------------------------------------------------