get_follow_stats.asciidoc 957 B

1234567891011121314151617181920212223242526272829303132333435
  1. --
  2. :api: ccr-get-follow-stats
  3. :request: FollowStatsRequest
  4. :response: FollowStatsResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Get Follow Stats API
  8. [id="{upid}-{api}-request"]
  9. ==== Request
  10. The Get Follow Stats API allows you to get follow statistics for specific follower indices.
  11. ["source","java",subs="attributes,callouts,macros"]
  12. --------------------------------------------------
  13. include-tagged::{doc-tests-file}[{api}-request]
  14. --------------------------------------------------
  15. <1> The follower index to get follow statistics for.
  16. [id="{upid}-{api}-response"]
  17. ==== Response
  18. The returned +{response}+ includes follow statistics for the specified follower indices
  19. ["source","java",subs="attributes,callouts,macros"]
  20. --------------------------------------------------
  21. include-tagged::{doc-tests-file}[{api}-response]
  22. --------------------------------------------------
  23. <1> The follow stats for specified follower indices.
  24. include::../execution.asciidoc[]