OpenSearch/docs/java-rest/high-level/ccr/pause_follow.asciidoc

36 lines
912 B
Plaintext
Raw Normal View History

--
:api: ccr-pause-follow
:request: PauseFollowRequest
2018-11-23 01:52:29 -05:00
:response: AcknowledgedResponse
--
[role="xpack"]
[id="{upid}-{api}"]
=== Pause Follow API
[id="{upid}-{api}-request"]
==== Request
The Pause Follow API allows you to pause following by follow index name.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
--------------------------------------------------
<1> The name of follow index.
[id="{upid}-{api}-response"]
==== Response
The returned +{response}+ indicates if the pause follow request was received.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-response]
--------------------------------------------------
<1> Whether or not the pause follow was acknowledge.
include::../execution.asciidoc[]