get_data_frame.asciidoc 1.7 KB

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