supported-apis.asciidoc 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. [[java-rest-high-supported-apis]]
  2. == Document APIs
  3. :upid: {mainid}-document
  4. :doc-tests-file: {doc-tests}/CRUDDocumentationIT.java
  5. The Java High Level REST Client supports the following Document APIs:
  6. [[single-doc]]
  7. Single document APIs::
  8. * <<{upid}-index>>
  9. * <<{upid}-get>>
  10. * <<{upid}-delete>>
  11. * <<{upid}-update>>
  12. [[multi-doc]]
  13. Multi-document APIs::
  14. * <<{upid}-bulk>>
  15. * <<{upid}-multi-get>>
  16. * <<{upid}-reindex>>
  17. * <<{upid}-update-by-query>>
  18. * <<{upid}-delete-by-query>>
  19. * <<{upid}-rethrottle>>
  20. include::document/index.asciidoc[]
  21. include::document/get.asciidoc[]
  22. include::document/exists.asciidoc[]
  23. include::document/delete.asciidoc[]
  24. include::document/update.asciidoc[]
  25. include::document/bulk.asciidoc[]
  26. include::document/multi-get.asciidoc[]
  27. include::document/reindex.asciidoc[]
  28. include::document/update-by-query.asciidoc[]
  29. include::document/delete-by-query.asciidoc[]
  30. include::document/rethrottle.asciidoc[]
  31. == Search APIs
  32. :upid: {mainid}
  33. :doc-tests-file: {doc-tests}/SearchDocumentationIT.java
  34. The Java High Level REST Client supports the following Search APIs:
  35. * <<{upid}-search>>
  36. * <<{upid}-search-scroll>>
  37. * <<{upid}-clear-scroll>>
  38. * <<{upid}-search-template>>
  39. * <<{upid}-multi-search-template>>
  40. * <<{upid}-multi-search>>
  41. * <<{upid}-field-caps>>
  42. * <<{upid}-rank-eval>>
  43. * <<{upid}-explain>>
  44. include::search/search.asciidoc[]
  45. include::search/scroll.asciidoc[]
  46. include::search/multi-search.asciidoc[]
  47. include::search/search-template.asciidoc[]
  48. include::search/multi-search-template.asciidoc[]
  49. include::search/field-caps.asciidoc[]
  50. include::search/rank-eval.asciidoc[]
  51. include::search/explain.asciidoc[]
  52. == Miscellaneous APIs
  53. The Java High Level REST Client supports the following Miscellaneous APIs:
  54. * <<java-rest-high-main>>
  55. * <<java-rest-high-ping>>
  56. * <<java-rest-high-x-pack-info>>
  57. * <<java-rest-high-x-pack-usage>>
  58. include::miscellaneous/main.asciidoc[]
  59. include::miscellaneous/ping.asciidoc[]
  60. include::miscellaneous/x-pack-info.asciidoc[]
  61. include::miscellaneous/x-pack-usage.asciidoc[]
  62. == Indices APIs
  63. The Java High Level REST Client supports the following Indices APIs:
  64. Index Management::
  65. * <<java-rest-high-create-index>>
  66. * <<java-rest-high-delete-index>>
  67. * <<java-rest-high-indices-exists>>
  68. * <<java-rest-high-open-index>>
  69. * <<java-rest-high-close-index>>
  70. * <<java-rest-high-shrink-index>>
  71. * <<java-rest-high-split-index>>
  72. * <<java-rest-high-refresh>>
  73. * <<java-rest-high-flush>>
  74. * <<java-rest-high-flush-synced>>
  75. * <<java-rest-high-clear-cache>>
  76. * <<java-rest-high-force-merge>>
  77. * <<java-rest-high-rollover-index>>
  78. * <<java-rest-high-indices-put-settings>>
  79. * <<java-rest-high-get-settings>>
  80. * <<java-rest-high-indices-validate-query>>
  81. * <<java-rest-high-get-index>>
  82. Mapping Management::
  83. * <<java-rest-high-put-mapping>>
  84. * <<java-rest-high-get-mappings>>
  85. * <<java-rest-high-get-field-mappings>>
  86. Alias Management::
  87. * <<java-rest-high-update-aliases>>
  88. * <<java-rest-high-exists-alias>>
  89. * <<java-rest-high-get-alias>>
  90. include::indices/analyze.asciidoc[]
  91. include::indices/create_index.asciidoc[]
  92. include::indices/delete_index.asciidoc[]
  93. include::indices/indices_exists.asciidoc[]
  94. include::indices/open_index.asciidoc[]
  95. include::indices/close_index.asciidoc[]
  96. include::indices/shrink_index.asciidoc[]
  97. include::indices/split_index.asciidoc[]
  98. include::indices/refresh.asciidoc[]
  99. include::indices/flush.asciidoc[]
  100. include::indices/flush_synced.asciidoc[]
  101. include::indices/clear_cache.asciidoc[]
  102. include::indices/force_merge.asciidoc[]
  103. include::indices/rollover.asciidoc[]
  104. include::indices/put_mapping.asciidoc[]
  105. include::indices/get_mappings.asciidoc[]
  106. include::indices/get_field_mappings.asciidoc[]
  107. include::indices/update_aliases.asciidoc[]
  108. include::indices/exists_alias.asciidoc[]
  109. include::indices/get_alias.asciidoc[]
  110. include::indices/put_settings.asciidoc[]
  111. include::indices/get_settings.asciidoc[]
  112. include::indices/put_template.asciidoc[]
  113. include::indices/validate_query.asciidoc[]
  114. include::indices/get_templates.asciidoc[]
  115. include::indices/get_index.asciidoc[]
  116. == Cluster APIs
  117. The Java High Level REST Client supports the following Cluster APIs:
  118. * <<java-rest-high-cluster-put-settings>>
  119. * <<java-rest-high-cluster-get-settings>>
  120. * <<java-rest-high-cluster-health>>
  121. :upid: {mainid}-cluster
  122. :doc-tests-file: {doc-tests}/ClusterClientDocumentationIT.java
  123. include::cluster/put_settings.asciidoc[]
  124. include::cluster/get_settings.asciidoc[]
  125. include::cluster/health.asciidoc[]
  126. == Ingest APIs
  127. The Java High Level REST Client supports the following Ingest APIs:
  128. * <<java-rest-high-ingest-put-pipeline>>
  129. * <<java-rest-high-ingest-get-pipeline>>
  130. * <<java-rest-high-ingest-delete-pipeline>>
  131. * <<java-rest-high-ingest-simulate-pipeline>>
  132. include::ingest/put_pipeline.asciidoc[]
  133. include::ingest/get_pipeline.asciidoc[]
  134. include::ingest/delete_pipeline.asciidoc[]
  135. include::ingest/simulate_pipeline.asciidoc[]
  136. == Snapshot APIs
  137. The Java High Level REST Client supports the following Snapshot APIs:
  138. * <<java-rest-high-snapshot-get-repository>>
  139. * <<java-rest-high-snapshot-create-repository>>
  140. * <<java-rest-high-snapshot-delete-repository>>
  141. * <<java-rest-high-snapshot-verify-repository>>
  142. * <<java-rest-high-snapshot-create-snapshot>>
  143. * <<java-rest-high-snapshot-get-snapshots>>
  144. * <<java-rest-high-snapshot-snapshots-status>>
  145. * <<java-rest-high-snapshot-delete-snapshot>>
  146. include::snapshot/get_repository.asciidoc[]
  147. include::snapshot/create_repository.asciidoc[]
  148. include::snapshot/delete_repository.asciidoc[]
  149. include::snapshot/verify_repository.asciidoc[]
  150. include::snapshot/create_snapshot.asciidoc[]
  151. include::snapshot/get_snapshots.asciidoc[]
  152. include::snapshot/snapshots_status.asciidoc[]
  153. include::snapshot/delete_snapshot.asciidoc[]
  154. == Tasks APIs
  155. The Java High Level REST Client supports the following Tasks APIs:
  156. * <<java-rest-high-tasks-list>>
  157. * <<java-rest-high-cluster-cancel-tasks>>
  158. include::tasks/list_tasks.asciidoc[]
  159. include::tasks/cancel_tasks.asciidoc[]
  160. == Script APIs
  161. The Java High Level REST Client supports the following Scripts APIs:
  162. * <<java-rest-high-get-stored-script>>
  163. * <<java-rest-high-put-stored-script>>
  164. * <<java-rest-high-delete-stored-script>>
  165. include::script/get_script.asciidoc[]
  166. include::script/put_script.asciidoc[]
  167. include::script/delete_script.asciidoc[]
  168. == Licensing APIs
  169. The Java High Level REST Client supports the following Licensing APIs:
  170. * <<java-rest-high-put-license>>
  171. * <<java-rest-high-get-license>>
  172. * <<java-rest-high-delete-license>>
  173. include::licensing/put-license.asciidoc[]
  174. include::licensing/get-license.asciidoc[]
  175. include::licensing/delete-license.asciidoc[]
  176. == Machine Learning APIs
  177. The Java High Level REST Client supports the following Machine Learning APIs:
  178. * <<java-rest-high-x-pack-ml-put-job>>
  179. * <<java-rest-high-x-pack-ml-get-job>>
  180. * <<java-rest-high-x-pack-ml-delete-job>>
  181. * <<java-rest-high-x-pack-ml-open-job>>
  182. * <<java-rest-high-x-pack-ml-close-job>>
  183. * <<java-rest-high-x-pack-ml-flush-job>>
  184. * <<java-rest-high-x-pack-ml-update-job>>
  185. * <<java-rest-high-x-pack-ml-get-job-stats>>
  186. * <<java-rest-high-x-pack-ml-put-datafeed>>
  187. * <<java-rest-high-x-pack-ml-get-datafeed>>
  188. * <<java-rest-high-x-pack-ml-delete-datafeed>>
  189. * <<java-rest-high-x-pack-ml-start-datafeed>>
  190. * <<java-rest-high-x-pack-ml-stop-datafeed>>
  191. * <<java-rest-high-x-pack-ml-forecast-job>>
  192. * <<java-rest-high-x-pack-ml-delete-forecast>>
  193. * <<java-rest-high-x-pack-ml-get-buckets>>
  194. * <<java-rest-high-x-pack-ml-get-overall-buckets>>
  195. * <<java-rest-high-x-pack-ml-get-records>>
  196. * <<java-rest-high-x-pack-ml-post-data>>
  197. * <<java-rest-high-x-pack-ml-get-influencers>>
  198. * <<java-rest-high-x-pack-ml-get-categories>>
  199. * <<java-rest-high-x-pack-ml-get-calendars>>
  200. * <<java-rest-high-x-pack-ml-put-calendar>>
  201. * <<java-rest-high-x-pack-ml-delete-calendar>>
  202. include::ml/put-job.asciidoc[]
  203. include::ml/get-job.asciidoc[]
  204. include::ml/delete-job.asciidoc[]
  205. include::ml/open-job.asciidoc[]
  206. include::ml/close-job.asciidoc[]
  207. include::ml/update-job.asciidoc[]
  208. include::ml/flush-job.asciidoc[]
  209. include::ml/put-datafeed.asciidoc[]
  210. include::ml/get-datafeed.asciidoc[]
  211. include::ml/delete-datafeed.asciidoc[]
  212. include::ml/start-datafeed.asciidoc[]
  213. include::ml/stop-datafeed.asciidoc[]
  214. include::ml/get-job-stats.asciidoc[]
  215. include::ml/forecast-job.asciidoc[]
  216. include::ml/delete-forecast.asciidoc[]
  217. include::ml/get-buckets.asciidoc[]
  218. include::ml/get-overall-buckets.asciidoc[]
  219. include::ml/get-records.asciidoc[]
  220. include::ml/post-data.asciidoc[]
  221. include::ml/get-influencers.asciidoc[]
  222. include::ml/get-categories.asciidoc[]
  223. include::ml/get-calendars.asciidoc[]
  224. include::ml/put-calendar.asciidoc[]
  225. include::ml/delete-calendar.asciidoc[]
  226. == Migration APIs
  227. The Java High Level REST Client supports the following Migration APIs:
  228. * <<java-rest-high-migration-get-assistance>>
  229. include::migration/get-assistance.asciidoc[]
  230. == Rollup APIs
  231. The Java High Level REST Client supports the following Rollup APIs:
  232. * <<java-rest-high-x-pack-rollup-put-job>>
  233. * <<java-rest-high-x-pack-rollup-get-job>>
  234. include::rollup/put_job.asciidoc[]
  235. include::rollup/get_job.asciidoc[]
  236. == Security APIs
  237. The Java High Level REST Client supports the following Security APIs:
  238. * <<java-rest-high-security-put-user>>
  239. * <<java-rest-high-security-enable-user>>
  240. * <<java-rest-high-security-disable-user>>
  241. * <<java-rest-high-security-change-password>>
  242. include::security/put-user.asciidoc[]
  243. include::security/enable-user.asciidoc[]
  244. include::security/disable-user.asciidoc[]
  245. include::security/change-password.asciidoc[]
  246. == Watcher APIs
  247. :upid: {mainid}-document
  248. :doc-tests-file: {doc-tests}/WatcherDocumentationIT.java
  249. The Java High Level REST Client supports the following Watcher APIs:
  250. * <<java-rest-high-x-pack-watcher-put-watch>>
  251. * <<java-rest-high-x-pack-watcher-delete-watch>>
  252. * <<java-rest-high-watcher-ack-watch>>
  253. * <<{upid}-activate-watch>>
  254. include::watcher/put-watch.asciidoc[]
  255. include::watcher/delete-watch.asciidoc[]
  256. include::watcher/ack-watch.asciidoc[]
  257. include::watcher/activate-watch.asciidoc[]
  258. == Graph APIs
  259. The Java High Level REST Client supports the following Graph APIs:
  260. * <<java-rest-high-x-pack-graph-explore>>
  261. include::graph/explore.asciidoc[]
  262. ////
  263. Clear attributes that we use to document that APIs included above so they
  264. don't leak into the rest of the documentation.
  265. ////
  266. --
  267. :api!:
  268. :request!:
  269. :response!:
  270. :doc-tests-file!:
  271. :upid!:
  272. --