Explorar o código

rest-api-spec: use url and description from Elasticsarch specification (#133386)

* rest-api-spec: use url and description from Elasticsarch specification

* Remove doc URLs for internal APIs

* Fix more URLs

They had a whitespace that the regex did not account for.

* Fix more URLs

* Fix JSON Schema validation
Quentin Pradet hai 2 meses
pai
achega
8697379e1f
Modificáronse 100 ficheiros con 195 adicións e 195 borrados
  1. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_balance.json
  2. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_nodes.json
  3. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.get_desired_balance.json
  4. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.get_desired_nodes.json
  5. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.prevalidate_node_removal.json
  6. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/_internal.update_desired_nodes.json
  7. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/async_search.delete.json
  8. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/async_search.get.json
  9. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/async_search.status.json
  10. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json
  11. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json
  12. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json
  13. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json
  14. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json
  15. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json
  16. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json
  17. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json
  18. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.component_templates.json
  19. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json
  20. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json
  21. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json
  22. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json
  23. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json
  24. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json
  25. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json
  26. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_datafeeds.json
  27. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_jobs.json
  28. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_trained_models.json
  29. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json
  30. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json
  31. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json
  32. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json
  33. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json
  34. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json
  35. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json
  36. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json
  37. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json
  38. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json
  39. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json
  40. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json
  41. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cat.transforms.json
  42. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json
  43. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow.json
  44. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow_info.json
  45. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow_stats.json
  46. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.forget_follower.json
  47. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json
  48. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json
  49. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.pause_follow.json
  50. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json
  51. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json
  52. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.resume_follow.json
  53. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.stats.json
  54. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/ccr.unfollow.json
  55. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json
  56. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/close_point_in_time.json
  57. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json
  58. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json
  59. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json
  60. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json
  61. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json
  62. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json
  63. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json
  64. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.info.json
  65. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json
  66. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json
  67. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json
  68. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json
  69. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json
  70. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json
  71. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json
  72. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json
  73. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.check_in.json
  74. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.delete.json
  75. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.get.json
  76. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.last_sync.json
  77. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.list.json
  78. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.post.json
  79. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.put.json
  80. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_delete.json
  81. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_get.json
  82. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_post.json
  83. 1 1
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_put.json
  84. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_cancel.json
  85. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_check_in.json
  86. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_claim.json
  87. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_delete.json
  88. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_error.json
  89. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_get.json
  90. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_list.json
  91. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_post.json
  92. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_update_stats.json
  93. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_active_filtering.json
  94. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_api_key_id.json
  95. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_configuration.json
  96. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_error.json
  97. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_features.json
  98. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_filtering.json
  99. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_filtering_validation.json
  100. 2 2
      rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_index_name.json

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_balance.json

@@ -1,8 +1,8 @@
 {
   "_internal.delete_desired_balance":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-balance.html",
-      "description": "This API is a diagnostics API and the output should not be relied upon for building applications."
+      "url": null,
+      "description": "This API is a diagnostics API and the output should not be relied upon for building applications"
     },
     "stability":"experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.delete_desired_nodes.json

@@ -1,8 +1,8 @@
 {
   "_internal.delete_desired_nodes":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-desired-nodes.html",
-      "description": "Deletes the desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url": null,
+      "description": "Deletes the desired nodes"
     },
     "stability":"experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.get_desired_balance.json

@@ -1,8 +1,8 @@
 {
   "_internal.get_desired_balance":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-desired-balance.html",
-      "description": "This API is a diagnostics API and the output should not be relied upon for building applications."
+      "url": null,
+      "description": "This API is a diagnostics API and the output should not be relied upon for building applications"
     },
     "stability":"experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.get_desired_nodes.json

@@ -1,8 +1,8 @@
 {
   "_internal.get_desired_nodes":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/get-desired-nodes.html",
-      "description": "Gets the latest desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url": null,
+      "description": "Gets the latest desired nodes"
     },
     "stability":"experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.prevalidate_node_removal.json

@@ -1,10 +1,10 @@
 {
   "_internal.prevalidate_node_removal": {
     "documentation":{
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/prevalidate-node-removal-api.html",
+      "url": null,
       "description":"Prevalidates node removal from the cluster"
     },
-    "stability":"stable",
+    "stability":"experimental",
     "visibility":"private",
     "headers":{
       "accept": [ "application/json"]

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/_internal.update_desired_nodes.json

@@ -1,8 +1,8 @@
 {
   "_internal.update_desired_nodes":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/update-desired-nodes.html",
-      "description": "Updates the desired nodes. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url": null,
+      "description": "Updates the desired nodes"
     },
     "stability":"experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/async_search.delete.json

@@ -1,8 +1,8 @@
 {
   "async_search.delete":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",
-      "description": "Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit",
+      "description": "Delete an async search"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/async_search.get.json

@@ -1,8 +1,8 @@
 {
   "async_search.get":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",
-      "description": "Retrieves the results of a previously submitted async search request given its ID."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit",
+      "description": "Get async search results"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/async_search.status.json

@@ -1,8 +1,8 @@
 {
   "async_search.status":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",
-      "description": "Retrieves the status of a previously submitted async search request given its ID."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit",
+      "description": "Get the async search status"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/async_search.submit.json

@@ -1,8 +1,8 @@
 {
   "async_search.submit":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html",
-      "description": "Executes a search request asynchronously."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-async-search-submit",
+      "description": "Run an async search"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.delete_autoscaling_policy.json

@@ -1,8 +1,8 @@
 {
   "autoscaling.delete_autoscaling_policy":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html",
-      "description":"Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-delete-autoscaling-policy",
+      "description":"Delete an autoscaling policy"
     },
     "stability":"stable",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_capacity.json

@@ -1,8 +1,8 @@
 {
   "autoscaling.get_autoscaling_capacity":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html",
-      "description": "Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-get-autoscaling-capacity",
+      "description": "Get the autoscaling capacity"
     },
     "stability":"stable",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.get_autoscaling_policy.json

@@ -1,8 +1,8 @@
 {
   "autoscaling.get_autoscaling_policy":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html",
-      "description": "Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-get-autoscaling-capacity",
+      "description": "Get an autoscaling policy"
     },
     "stability":"stable",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/autoscaling.put_autoscaling_policy.json

@@ -1,8 +1,8 @@
 {
   "autoscaling.put_autoscaling_policy":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html",
-      "description": "Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-autoscaling-put-autoscaling-policy",
+      "description": "Create or update an autoscaling policy"
     },
     "stability":"stable",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/bulk.json

@@ -1,8 +1,8 @@
 {
   "bulk":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html",
-      "description":"Allows to perform multiple index/update/delete operations in a single request."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-bulk",
+      "description":"Bulk index or delete documents"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.aliases.json

@@ -1,8 +1,8 @@
 {
   "cat.aliases":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html",
-      "description":"Shows information about currently configured aliases to indices including filter and routing infos."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-aliases",
+      "description":"Get aliases"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.allocation.json

@@ -1,8 +1,8 @@
 {
   "cat.allocation":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html",
-      "description":"Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-allocation",
+      "description":"Get shard allocation information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.component_templates.json

@@ -1,8 +1,8 @@
 {
   "cat.component_templates":{
     "documentation":{
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html",
-      "description":"Returns information about existing component_templates templates."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-component-templates",
+      "description":"Get component templates"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.count.json

@@ -1,8 +1,8 @@
 {
   "cat.count":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html",
-      "description":"Provides quick access to the document count of the entire cluster, or individual indices."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-count",
+      "description":"Get a document count"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.fielddata.json

@@ -1,8 +1,8 @@
 {
   "cat.fielddata":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html",
-      "description":"Shows how much heap memory is currently being used by fielddata on every data node in the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-fielddata",
+      "description":"Get field data cache information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.health.json

@@ -1,8 +1,8 @@
 {
   "cat.health":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html",
-      "description":"Returns a concise representation of the cluster health."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-health",
+      "description":"Get the cluster health status"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.help.json

@@ -1,8 +1,8 @@
 {
   "cat.help":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html",
-      "description":"Returns help for the Cat APIs."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-cat",
+      "description":"Get CAT help"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.indices.json

@@ -1,8 +1,8 @@
 {
   "cat.indices":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html",
-      "description":"Returns information about indices: number of primaries and replicas, document counts, disk size, ..."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-indices",
+      "description":"Get index information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.master.json

@@ -1,8 +1,8 @@
 {
   "cat.master":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html",
-      "description":"Returns information about the master node."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-master",
+      "description":"Get master node information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_data_frame_analytics.json

@@ -1,8 +1,8 @@
 {
   "cat.ml_data_frame_analytics":{
     "documentation":{
-      "url":"http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html",
-      "description": "Gets configuration and usage information about data frame analytics jobs."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-ml-data-frame-analytics",
+      "description": "Get data frame analytics jobs"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_datafeeds.json

@@ -1,8 +1,8 @@
 {
   "cat.ml_datafeeds":{
     "documentation":{
-      "url":"http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html",
-      "description": "Gets configuration and usage information about datafeeds."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-ml-datafeeds",
+      "description": "Get datafeeds"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_jobs.json

@@ -1,8 +1,8 @@
 {
   "cat.ml_jobs":{
     "documentation":{
-      "url":"http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html",
-      "description": "Gets configuration and usage information about anomaly detection jobs."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-ml-jobs",
+      "description": "Get anomaly detection jobs"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.ml_trained_models.json

@@ -1,8 +1,8 @@
 {
   "cat.ml_trained_models":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html",
-      "description": "Gets configuration and usage information about inference trained models."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-ml-trained-models",
+      "description": "Get trained models"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodeattrs.json

@@ -1,8 +1,8 @@
 {
   "cat.nodeattrs":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html",
-      "description":"Returns information about custom node attributes."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-nodeattrs",
+      "description":"Get node attribute information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.nodes.json

@@ -1,8 +1,8 @@
 {
   "cat.nodes":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html",
-      "description":"Returns basic statistics about performance of cluster nodes."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-nodes",
+      "description":"Get node information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.pending_tasks.json

@@ -1,8 +1,8 @@
 {
   "cat.pending_tasks":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html",
-      "description":"Returns a concise representation of the cluster pending tasks."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-pending-tasks",
+      "description":"Get pending task information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.plugins.json

@@ -1,8 +1,8 @@
 {
   "cat.plugins":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html",
-      "description":"Returns information about installed plugins across nodes node."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-plugins",
+      "description":"Get plugin information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.recovery.json

@@ -1,8 +1,8 @@
 {
   "cat.recovery":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html",
-      "description":"Returns information about index shard recoveries, both on-going completed."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-recovery",
+      "description":"Get shard recovery information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.repositories.json

@@ -1,8 +1,8 @@
 {
   "cat.repositories":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html",
-      "description":"Returns information about snapshot repositories registered in the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-repositories",
+      "description":"Get snapshot repository information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.segments.json

@@ -1,8 +1,8 @@
 {
   "cat.segments":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html",
-      "description":"Provides low-level information about the segments in the shards of an index."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-segments",
+      "description":"Get segment information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.shards.json

@@ -1,8 +1,8 @@
 {
   "cat.shards":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html",
-      "description":"Provides a detailed view of shard allocation on nodes."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-shards",
+      "description":"Get shard information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.snapshots.json

@@ -1,8 +1,8 @@
 {
   "cat.snapshots":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html",
-      "description":"Returns all snapshots in a specific repository."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-snapshots",
+      "description":"Get snapshot information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.tasks.json

@@ -1,8 +1,8 @@
 {
   "cat.tasks":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html",
-      "description":"Returns information about the tasks currently executing on one or more nodes in the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-tasks",
+      "description":"Get task information"
     },
     "stability":"experimental",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.templates.json

@@ -1,8 +1,8 @@
 {
   "cat.templates":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html",
-      "description":"Returns information about existing templates."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-templates",
+      "description":"Get index template information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.thread_pool.json

@@ -1,8 +1,8 @@
 {
   "cat.thread_pool":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html",
-      "description":"Returns cluster-wide thread pool statistics per node.\nBy default the active, queue and rejected statistics are returned for all thread pools."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-thread-pool",
+      "description":"Get thread pool statistics"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cat.transforms.json

@@ -1,8 +1,8 @@
 {
   "cat.transforms":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html",
-      "description": "Gets configuration and usage information about transforms."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cat-transforms",
+      "description": "Get transform information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.delete_auto_follow_pattern.json

@@ -1,8 +1,8 @@
 {
   "ccr.delete_auto_follow_pattern":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html",
-      "description": "Deletes auto-follow patterns."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-delete-auto-follow-pattern",
+      "description": "Delete auto-follow patterns"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow.json

@@ -1,8 +1,8 @@
 {
   "ccr.follow":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html",
-      "description": "Creates a new follower index configured to follow the referenced leader index."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-follow",
+      "description": "Create a follower"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow_info.json

@@ -1,8 +1,8 @@
 {
   "ccr.follow_info":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html",
-      "description": "Retrieves information about all follower indices, including parameters and status for each follower index"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-follow-info",
+      "description": "Get follower information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.follow_stats.json

@@ -1,8 +1,8 @@
 {
   "ccr.follow_stats":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html",
-      "description": "Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-follow-stats",
+      "description": "Get follower stats"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.forget_follower.json

@@ -1,8 +1,8 @@
 {
   "ccr.forget_follower":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html",
-      "description": "Removes the follower retention leases from the leader."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-forget-follower",
+      "description": "Forget a follower"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.get_auto_follow_pattern.json

@@ -1,8 +1,8 @@
 {
   "ccr.get_auto_follow_pattern":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html",
-      "description": "Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-get-auto-follow-pattern-1",
+      "description": "Get auto-follow patterns"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.pause_auto_follow_pattern.json

@@ -1,8 +1,8 @@
 {
   "ccr.pause_auto_follow_pattern":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html",
-      "description": "Pauses an auto-follow pattern"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-pause-auto-follow-pattern",
+      "description": "Pause an auto-follow pattern"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.pause_follow.json

@@ -1,8 +1,8 @@
 {
   "ccr.pause_follow":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html",
-      "description": "Pauses a follower index. The follower index will not fetch any additional operations from the leader index."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-pause-follow",
+      "description": "Pause a follower"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.put_auto_follow_pattern.json

@@ -1,8 +1,8 @@
 {
   "ccr.put_auto_follow_pattern":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html",
-      "description": "Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-put-auto-follow-pattern",
+      "description": "Create or update auto-follow patterns"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.resume_auto_follow_pattern.json

@@ -1,8 +1,8 @@
 {
   "ccr.resume_auto_follow_pattern":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html",
-      "description": "Resumes an auto-follow pattern that has been paused"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-resume-auto-follow-pattern",
+      "description": "Resume an auto-follow pattern"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.resume_follow.json

@@ -1,8 +1,8 @@
 {
   "ccr.resume_follow":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html",
-      "description": "Resumes a follower index that has been paused"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-resume-follow",
+      "description": "Resume a follower"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.stats.json

@@ -1,8 +1,8 @@
 {
   "ccr.stats":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html",
-      "description": "Gets all stats related to cross-cluster replication."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-stats",
+      "description": "Get cross-cluster replication stats"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/ccr.unfollow.json

@@ -1,8 +1,8 @@
 {
   "ccr.unfollow":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html",
-      "description": "Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-ccr-unfollow",
+      "description": "Unfollow an index"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/clear_scroll.json

@@ -1,8 +1,8 @@
 {
   "clear_scroll":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html",
-      "description":"Explicitly clears the search context for a scroll."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-clear-scroll",
+      "description":"Clear a scrolling search"
     },
     "stability":"stable",
     "visibility":"public",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/close_point_in_time.json

@@ -1,7 +1,7 @@
 {
   "close_point_in_time":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html",
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-open-point-in-time",
       "description":"Close a point in time"
     },
     "stability":"stable",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.allocation_explain.json

@@ -1,8 +1,8 @@
 {
   "cluster.allocation_explain":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html",
-      "description":"Provides explanations for shard allocations in the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-allocation-explain",
+      "description":"Explain the shard allocations"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_component_template.json

@@ -1,8 +1,8 @@
 {
   "cluster.delete_component_template":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html",
-      "description":"Deletes a component template"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template",
+      "description":"Delete component templates"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.delete_voting_config_exclusions.json

@@ -1,8 +1,8 @@
 {
   "cluster.delete_voting_config_exclusions":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html",
-      "description":"Clears cluster voting config exclusions."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-post-voting-config-exclusions",
+      "description":"Clear cluster voting config exclusions"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.exists_component_template.json

@@ -1,8 +1,8 @@
 {
   "cluster.exists_component_template":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html",
-      "description":"Returns information about whether a particular component template exist"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template",
+      "description":"Check component templates"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_component_template.json

@@ -1,8 +1,8 @@
 {
   "cluster.get_component_template":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html",
-      "description":"Returns one or more component templates"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template",
+      "description":"Get component templates"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.get_settings.json

@@ -1,8 +1,8 @@
 {
   "cluster.get_settings":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-get-settings.html",
-      "description":"Returns cluster settings."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-get-settings",
+      "description":"Get cluster-wide settings"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.health.json

@@ -1,8 +1,8 @@
 {
   "cluster.health":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html",
-      "description":"Returns basic information about the health of the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-health",
+      "description":"Get the cluster health status"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.info.json

@@ -1,8 +1,8 @@
 {
   "cluster.info": {
       "documentation": {
-          "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-info.html",
-          "description": "Returns different information about the cluster."
+          "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-info",
+          "description": "Get cluster info"
       },
       "stability": "stable",
       "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.pending_tasks.json

@@ -1,8 +1,8 @@
 {
   "cluster.pending_tasks":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html",
-      "description":"Returns a list of any cluster-level changes (e.g. create index, update mapping,\nallocate or fail shard) which have not yet been executed."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-pending-tasks",
+      "description":"Get the pending cluster tasks"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.post_voting_config_exclusions.json

@@ -1,8 +1,8 @@
 {
   "cluster.post_voting_config_exclusions":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html",
-      "description":"Updates the cluster voting config exclusions by node ids or node names."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-post-voting-config-exclusions",
+      "description":"Update voting configuration exclusions"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_component_template.json

@@ -1,8 +1,8 @@
 {
   "cluster.put_component_template":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html",
-      "description":"Creates or updates a component template"
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-component-template",
+      "description":"Create or update a component template"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.put_settings.json

@@ -1,8 +1,8 @@
 {
   "cluster.put_settings":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html",
-      "description":"Updates the cluster settings."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-settings",
+      "description":"Update the cluster settings"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.remote_info.json

@@ -1,8 +1,8 @@
 {
   "cluster.remote_info":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html",
-      "description":"Returns the information about configured remote clusters."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-remote-info",
+      "description":"Get remote cluster information"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.reroute.json

@@ -1,8 +1,8 @@
 {
   "cluster.reroute":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html",
-      "description":"Allows to manually change the allocation of individual shards in the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-reroute",
+      "description":"Reroute the cluster"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.state.json

@@ -1,8 +1,8 @@
 {
   "cluster.state":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html",
-      "description":"Returns a comprehensive information about the state of the cluster."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-state",
+      "description":"Get the cluster state"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/cluster.stats.json

@@ -1,8 +1,8 @@
 {
   "cluster.stats":{
     "documentation":{
-      "url":"https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html",
-      "description":"Returns high-level overview of cluster statistics."
+      "url":"https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-stats",
+      "description":"Get cluster statistics"
     },
     "stability":"stable",
     "visibility":"public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.check_in.json

@@ -1,8 +1,8 @@
 {
   "connector.check_in": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/check-in-connector-api.html",
-      "description": "Updates the last_seen timestamp in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-check-in",
+      "description": "Check in a connector"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.delete.json

@@ -1,8 +1,8 @@
 {
   "connector.delete": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-connector-api.html",
-      "description": "Deletes a connector."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-delete",
+      "description": "Delete a connector"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.get.json

@@ -1,8 +1,8 @@
 {
   "connector.get": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-connector-api.html",
-      "description": "Returns the details about a connector."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-get",
+      "description": "Get a connector"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.last_sync.json

@@ -1,8 +1,8 @@
 {
   "connector.last_sync": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-last-sync-api.html",
-      "description": "Updates the stats of last sync in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-last-sync",
+      "description": "Update the connector last sync stats"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.list.json

@@ -1,8 +1,8 @@
 {
   "connector.list": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-connector-api.html",
-      "description": "Lists all connectors."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-list",
+      "description": "Get all connectors"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.post.json

@@ -1,8 +1,8 @@
 {
   "connector.post": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/create-connector-api.html",
-      "description": "Creates a connector."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-put",
+      "description": "Create a connector"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.put.json

@@ -1,8 +1,8 @@
 {
   "connector.put": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/create-connector-api.html",
-      "description": "Creates or updates a connector."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-put",
+      "description": "Create or update a connector"
     },
     "stability": "experimental",
     "visibility": "public",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_delete.json

@@ -2,7 +2,7 @@
   "connector.secret_delete": {
     "documentation": {
       "url": null,
-      "description": "Deletes a connector secret."
+      "description": "Deletes a connector secret"
     },
     "stability": "experimental",
     "visibility":"private",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_get.json

@@ -2,7 +2,7 @@
   "connector.secret_get": {
     "documentation": {
       "url": null,
-      "description": "Retrieves a secret stored by Connectors."
+      "description": "Retrieves a secret stored by Connectors"
     },
     "stability": "experimental",
     "visibility":"private",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_post.json

@@ -2,7 +2,7 @@
   "connector.secret_post": {
     "documentation": {
       "url": null,
-      "description": "Creates a secret for a Connector."
+      "description": "Creates a secret for a Connector"
     },
     "stability": "experimental",
     "visibility":"private",

+ 1 - 1
rest-api-spec/src/main/resources/rest-api-spec/api/connector.secret_put.json

@@ -2,7 +2,7 @@
   "connector.secret_put": {
     "documentation": {
       "url": null,
-      "description": "Creates or updates a secret for a Connector."
+      "description": "Creates or updates a secret for a Connector"
     },
     "stability": "experimental",
     "visibility":"private",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_cancel.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_cancel": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/cancel-connector-sync-job-api.html",
-      "description": "Cancels a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-cancel",
+      "description": "Cancel a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_check_in.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_check_in": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/check-in-connector-sync-job-api.html",
-      "description": "Checks in a connector sync job (refreshes 'last_seen')."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-check-in",
+      "description": "Check in a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_claim.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_claim": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/claim-connector-sync-job-api.html",
-      "description": "Claims a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-claim",
+      "description": "Claim a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_delete.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_delete": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/delete-connector-sync-job-api.html",
-      "description": "Deletes a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-delete",
+      "description": "Delete a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_error.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_error": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/set-connector-sync-job-error-api.html",
-      "description": "Sets an error for a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-error",
+      "description": "Set a connector sync job error"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_get.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_get": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/get-connector-sync-job-api.html",
-      "description": "Returns the details about a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-get",
+      "description": "Get a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_list.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_list": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/list-connector-sync-jobs-api.html",
-      "description": "Lists all connector sync jobs."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-list",
+      "description": "Get all connector sync jobs"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_post.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_post": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/create-connector-sync-job-api.html",
-      "description": "Creates a connector sync job."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-post",
+      "description": "Create a connector sync job"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.sync_job_update_stats.json

@@ -1,8 +1,8 @@
 {
   "connector.sync_job_update_stats": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/set-connector-sync-job-stats-api.html",
-      "description": "Updates the stats fields in the connector sync job document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-sync-job-update-stats",
+      "description": "Set the connector sync job stats"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_active_filtering.json

@@ -1,8 +1,8 @@
 {
   "connector.update_active_filtering": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-filtering-api.html",
-      "description": "Activates the draft filtering rules if they are in a validated state."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-filtering",
+      "description": "Activate the connector draft filter"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_api_key_id.json

@@ -1,8 +1,8 @@
 {
   "connector.update_api_key_id": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-api-key-id-api.html",
-      "description": "Updates the API key id and/or API key secret id fields in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-api-key-id",
+      "description": "Update the connector API key ID"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_configuration.json

@@ -1,8 +1,8 @@
 {
   "connector.update_configuration": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-configuration-api.html",
-      "description": "Updates the connector configuration."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-configuration",
+      "description": "Update the connector configuration"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_error.json

@@ -1,8 +1,8 @@
 {
   "connector.update_error": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-error-api.html",
-      "description": "Updates the error field in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-error",
+      "description": "Update the connector error field"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_features.json

@@ -1,8 +1,8 @@
 {
   "connector.update_features": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-features-api.html",
-      "description": "Updates the connector features in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-features",
+      "description": "Update the connector features"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_filtering.json

@@ -1,8 +1,8 @@
 {
   "connector.update_filtering": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-filtering-api.html",
-      "description": "Updates the filtering field in the connector document."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-filtering",
+      "description": "Update the connector filtering"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_filtering_validation.json

@@ -1,8 +1,8 @@
 {
   "connector.update_filtering_validation": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-filtering-api.html",
-      "description": "Updates the validation info of the draft filtering rules."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-filtering-validation",
+      "description": "Update the connector draft filtering validation"
     },
     "stability": "experimental",
     "visibility": "public",

+ 2 - 2
rest-api-spec/src/main/resources/rest-api-spec/api/connector.update_index_name.json

@@ -1,8 +1,8 @@
 {
   "connector.update_index_name": {
     "documentation": {
-      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/master/update-connector-index-name-api.html",
-      "description": "Updates the index name of the connector."
+      "url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-connector-update-index-name",
+      "description": "Update the connector index name"
     },
     "stability": "experimental",
     "visibility": "public",

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio