get-data-frame-analytics.asciidoc 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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. Retrieves one or more {dfanalytics-jobs}.
  10. The API accepts a +{request}+ object and returns a +{response}+.
  11. [id="{upid}-{api}-request"]
  12. ==== Get {dfanalytics-jobs} request
  13. A +{request}+ requires either a {dfanalytics-job} ID, a comma-separated list of
  14. IDs, or the special wildcard `_all` to get all {dfanalytics-jobs}.
  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 {dfanalytics-job}
  20. <2> Optional boolean value for requesting the {dfanalytics-job} in a format that can
  21. then be put into another cluster. Certain fields that can only be set when
  22. the {dfanalytics-job} is created are removed.
  23. include::../execution.asciidoc[]
  24. [id="{upid}-{api}-response"]
  25. ==== Response
  26. The returned +{response}+ contains the requested {dfanalytics-jobs}.
  27. ["source","java",subs="attributes,callouts,macros"]
  28. --------------------------------------------------
  29. include-tagged::{doc-tests-file}[{api}-response]
  30. --------------------------------------------------