2019-06-25 13:29:11 -04:00
|
|
|
--
|
|
|
|
:api: get-data-frame-analytics
|
|
|
|
:request: GetDataFrameAnalyticsRequest
|
|
|
|
:response: GetDataFrameAnalyticsResponse
|
|
|
|
--
|
2019-09-10 11:26:56 -04:00
|
|
|
[role="xpack"]
|
2019-06-25 13:29:11 -04:00
|
|
|
[id="{upid}-{api}"]
|
2019-09-16 13:00:44 -04:00
|
|
|
=== Get {dfanalytics-jobs} API
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
Retrieves one or more {dfanalytics-jobs}.
|
2019-06-25 13:29:11 -04:00
|
|
|
The API accepts a +{request}+ object and returns a +{response}+.
|
|
|
|
|
|
|
|
[id="{upid}-{api}-request"]
|
2019-09-16 13:00:44 -04:00
|
|
|
==== Get {dfanalytics-jobs} request
|
2019-06-25 13:29:11 -04:00
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
A +{request}+ requires either a {dfanalytics-job} ID, a comma-separated list of
|
|
|
|
IDs, or the special wildcard `_all` to get all {dfanalytics-jobs}.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
|
|
--------------------------------------------------
|
2019-09-16 13:00:44 -04:00
|
|
|
<1> Constructing a new GET request referencing an existing {dfanalytics-job}
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
include::../execution.asciidoc[]
|
|
|
|
|
|
|
|
[id="{upid}-{api}-response"]
|
|
|
|
==== Response
|
|
|
|
|
2019-09-16 13:00:44 -04:00
|
|
|
The returned +{response}+ contains the requested {dfanalytics-jobs}.
|
2019-06-25 13:29:11 -04:00
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
--------------------------------------------------
|
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
|
|
--------------------------------------------------
|