get-data-frame-analytics.asciidoc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --
  2. :api: get-data-frame-analytics
  3. :request: GetDataFrameAnalyticsRequest
  4. :response: GetDataFrameAnalyticsResponse
  5. --
  6. [role="xpack"]
  7. [id="{upid}-{api}"]
  8. === Get {dfanalytics-jobs} API
  9. beta::[]
  10. Retrieves one or more {dfanalytics-jobs}.
  11. The API accepts a +{request}+ object and returns a +{response}+.
  12. [id="{upid}-{api}-request"]
  13. ==== Get {dfanalytics-jobs} request
  14. A +{request}+ requires either a {dfanalytics-job} ID, a comma-separated list of
  15. IDs, or the special wildcard `_all` to get all {dfanalytics-jobs}.
  16. ["source","java",subs="attributes,callouts,macros"]
  17. --------------------------------------------------
  18. include-tagged::{doc-tests-file}[{api}-request]
  19. --------------------------------------------------
  20. <1> Constructing a new GET request referencing an existing {dfanalytics-job}
  21. <2> Optional boolean value for requesting the {dfanalytics-job} in a format that can
  22. then be put into another cluster. Certain fields that can only be set when
  23. the {dfanalytics-job} is created are removed.
  24. include::../execution.asciidoc[]
  25. [id="{upid}-{api}-response"]
  26. ==== Response
  27. The returned +{response}+ contains the requested {dfanalytics-jobs}.
  28. ["source","java",subs="attributes,callouts,macros"]
  29. --------------------------------------------------
  30. include-tagged::{doc-tests-file}[{api}-response]
  31. --------------------------------------------------