mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
Add support for ccr follow info api to HLRC. (#39115)
This API was introduces after #33824 was closed.
This commit is contained in:
parent
85311c3b2a
commit
1516132897
11 changed files with 595 additions and 0 deletions
35
docs/java-rest/high-level/ccr/get_follow_info.asciidoc
Normal file
35
docs/java-rest/high-level/ccr/get_follow_info.asciidoc
Normal file
|
@ -0,0 +1,35 @@
|
|||
--
|
||||
:api: ccr-get-follow-info
|
||||
:request: FollowInfoRequest
|
||||
:response: FollowInfoResponse
|
||||
--
|
||||
|
||||
[id="{upid}-{api}"]
|
||||
=== Get Follow Info API
|
||||
|
||||
|
||||
[id="{upid}-{api}-request"]
|
||||
==== Request
|
||||
|
||||
The Get Follow Info API allows you to get follow information (parameters and status) for specific follower indices.
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-request]
|
||||
--------------------------------------------------
|
||||
<1> The follower index to get follow information for.
|
||||
|
||||
[id="{upid}-{api}-response"]
|
||||
==== Response
|
||||
|
||||
The returned +{response}+ includes follow information for the specified follower indices
|
||||
|
||||
["source","java",subs="attributes,callouts,macros"]
|
||||
--------------------------------------------------
|
||||
include-tagged::{doc-tests-file}[{api}-response]
|
||||
--------------------------------------------------
|
||||
<1> The follow information for specified follower indices.
|
||||
|
||||
include::../execution.asciidoc[]
|
||||
|
||||
|
|
@ -507,6 +507,7 @@ The Java High Level REST Client supports the following CCR APIs:
|
|||
* <<{upid}-ccr-get-auto-follow-pattern>>
|
||||
* <<{upid}-ccr-get-stats>>
|
||||
* <<{upid}-ccr-get-follow-stats>>
|
||||
* <<{upid}-ccr-get-follow-info>>
|
||||
|
||||
include::ccr/put_follow.asciidoc[]
|
||||
include::ccr/pause_follow.asciidoc[]
|
||||
|
@ -517,6 +518,7 @@ include::ccr/delete_auto_follow_pattern.asciidoc[]
|
|||
include::ccr/get_auto_follow_pattern.asciidoc[]
|
||||
include::ccr/get_stats.asciidoc[]
|
||||
include::ccr/get_follow_stats.asciidoc[]
|
||||
include::ccr/get_follow_info.asciidoc[]
|
||||
|
||||
== Index Lifecycle Management APIs
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue