- _common.json
+ _common.json
|
@@ -627,7 +629,7 @@
|
- bulk.json
+ bulk.json
|
@@ -643,7 +645,7 @@
|
- cat.aliases.json
+ cat.aliases.json
|
@@ -659,7 +661,7 @@
|
- cat.allocation.json
+ cat.allocation.json
|
@@ -675,7 +677,7 @@
|
- cat.count.json
+ cat.count.json
|
@@ -691,7 +693,7 @@
|
- cat.fielddata.json
+ cat.fielddata.json
|
@@ -707,7 +709,7 @@
|
- cat.health.json
+ cat.health.json
|
@@ -723,7 +725,7 @@
|
- cat.help.json
+ cat.help.json
|
@@ -739,7 +741,7 @@
|
- cat.indices.json
+ cat.indices.json
|
@@ -755,7 +757,7 @@
|
- cat.master.json
+ cat.master.json
|
@@ -771,7 +773,7 @@
|
- cat.nodeattrs.json
+ cat.nodeattrs.json
|
@@ -787,7 +789,7 @@
|
- cat.nodes.json
+ cat.nodes.json
|
@@ -803,7 +805,7 @@
|
- cat.pending_tasks.json
+ cat.pending_tasks.json
|
@@ -819,7 +821,7 @@
|
- cat.plugins.json
+ cat.plugins.json
|
@@ -835,7 +837,7 @@
|
- cat.recovery.json
+ cat.recovery.json
|
@@ -851,7 +853,7 @@
|
- cat.repositories.json
+ cat.repositories.json
|
@@ -867,7 +869,7 @@
|
- cat.segments.json
+ cat.segments.json
|
@@ -883,7 +885,7 @@
|
- cat.shards.json
+ cat.shards.json
|
@@ -899,7 +901,7 @@
|
- cat.snapshots.json
+ cat.snapshots.json
|
@@ -915,7 +917,7 @@
|
- cat.tasks.json
+ cat.tasks.json
|
@@ -931,7 +933,7 @@
|
- cat.templates.json
+ cat.templates.json
|
@@ -947,7 +949,7 @@
|
- cat.thread_pool.json
+ cat.thread_pool.json
|
@@ -963,7 +965,7 @@
|
- clear_scroll.json
+ clear_scroll.json
|
@@ -979,7 +981,7 @@
|
- cluster.allocation_explain.json
+ cluster.allocation_explain.json
|
@@ -995,7 +997,7 @@
|
- cluster.get_settings.json
+ cluster.get_settings.json
|
@@ -1011,7 +1013,7 @@
|
- cluster.health.json
+ cluster.health.json
|
@@ -1027,7 +1029,7 @@
|
- cluster.pending_tasks.json
+ cluster.pending_tasks.json
|
@@ -1043,7 +1045,7 @@
|
- cluster.put_settings.json
+ cluster.put_settings.json
|
@@ -1059,7 +1061,7 @@
|
- cluster.remote_info.json
+ cluster.remote_info.json
|
@@ -1075,7 +1077,7 @@
|
- cluster.reroute.json
+ cluster.reroute.json
|
@@ -1091,7 +1093,7 @@
|
- cluster.state.json
+ cluster.state.json
|
@@ -1107,7 +1109,7 @@
|
- cluster.stats.json
+ cluster.stats.json
|
@@ -1123,7 +1125,7 @@
|
- count.json
+ count.json
|
@@ -1139,7 +1141,7 @@
|
- create.json
+ create.json
|
@@ -1155,7 +1157,7 @@
|
- delete.json
+ delete.json
|
@@ -1171,7 +1173,7 @@
|
- delete_by_query.json
+ delete_by_query.json
|
@@ -1187,7 +1189,7 @@
|
- delete_by_query_rethrottle.json
+ delete_by_query_rethrottle.json
|
@@ -1203,7 +1205,7 @@
|
- delete_script.json
+ delete_script.json
|
@@ -1219,7 +1221,7 @@
|
- exists.json
+ exists.json
|
@@ -1235,7 +1237,7 @@
|
- exists_source.json
+ exists_source.json
|
@@ -1251,7 +1253,7 @@
|
- explain.json
+ explain.json
|
@@ -1267,7 +1269,7 @@
|
- field_caps.json
+ field_caps.json
|
@@ -1283,7 +1285,7 @@
|
- get.json
+ get.json
|
@@ -1299,7 +1301,7 @@
|
- get_script.json
+ get_script.json
|
@@ -1315,7 +1317,7 @@
|
- get_source.json
+ get_source.json
|
@@ -1331,7 +1333,7 @@
|
- index.json
+ index.json
|
@@ -1347,7 +1349,7 @@
|
- indices.analyze.json
+ indices.analyze.json
|
@@ -1363,7 +1365,7 @@
|
- indices.clear_cache.json
+ indices.clear_cache.json
|
@@ -1379,7 +1381,7 @@
|
- indices.close.json
+ indices.close.json
|
@@ -1395,7 +1397,7 @@
|
- indices.create.json
+ indices.create.json
|
@@ -1411,7 +1413,7 @@
|
- indices.delete.json
+ indices.delete.json
|
@@ -1427,7 +1429,7 @@
|
- indices.delete_alias.json
+ indices.delete_alias.json
|
@@ -1443,7 +1445,7 @@
|
- indices.delete_template.json
+ indices.delete_template.json
|
@@ -1459,7 +1461,7 @@
|
- indices.exists.json
+ indices.exists.json
|
@@ -1475,7 +1477,7 @@
|
- indices.exists_alias.json
+ indices.exists_alias.json
|
@@ -1491,7 +1493,7 @@
|
- indices.exists_template.json
+ indices.exists_template.json
|
@@ -1507,7 +1509,7 @@
|
- indices.exists_type.json
+ indices.exists_type.json
|
@@ -1523,7 +1525,7 @@
|
- indices.flush.json
+ indices.flush.json
|
@@ -1539,7 +1541,7 @@
|
- indices.flush_synced.json
+ indices.flush_synced.json
|
@@ -1555,7 +1557,7 @@
|
- indices.forcemerge.json
+ indices.forcemerge.json
|
@@ -1571,7 +1573,7 @@
|
- indices.get.json
+ indices.get.json
|
@@ -1587,7 +1589,7 @@
|
- indices.get_alias.json
+ indices.get_alias.json
|
@@ -1603,7 +1605,7 @@
|
- indices.get_field_mapping.json
+ indices.get_field_mapping.json
|
@@ -1619,7 +1621,7 @@
|
- indices.get_mapping.json
+ indices.get_mapping.json
|
@@ -1635,7 +1637,7 @@
|
- indices.get_settings.json
+ indices.get_settings.json
|
@@ -1651,7 +1653,7 @@
|
- indices.get_template.json
+ indices.get_template.json
|
@@ -1667,7 +1669,7 @@
|
- indices.get_upgrade.json
+ indices.get_upgrade.json
|
@@ -1683,7 +1685,7 @@
|
- indices.open.json
+ indices.open.json
|
@@ -1699,7 +1701,7 @@
|
- indices.put_alias.json
+ indices.put_alias.json
|
@@ -1715,7 +1717,7 @@
|
- indices.put_mapping.json
+ indices.put_mapping.json
|
@@ -1731,7 +1733,7 @@
|
- indices.put_settings.json
+ indices.put_settings.json
|
@@ -1747,7 +1749,7 @@
|
- indices.put_template.json
+ indices.put_template.json
|
@@ -1763,7 +1765,7 @@
|
- indices.recovery.json
+ indices.recovery.json
|
@@ -1779,7 +1781,7 @@
|
- indices.refresh.json
+ indices.refresh.json
|
@@ -1795,7 +1797,7 @@
|
- indices.rollover.json
+ indices.rollover.json
|
@@ -1811,7 +1813,7 @@
|
- indices.segments.json
+ indices.segments.json
|
@@ -1827,7 +1829,7 @@
|
- indices.shard_stores.json
+ indices.shard_stores.json
|
@@ -1843,7 +1845,7 @@
|
- indices.shrink.json
+ indices.shrink.json
|
@@ -1859,7 +1861,7 @@
|
- indices.split.json
+ indices.split.json
|
@@ -1875,7 +1877,7 @@
|
- indices.stats.json
+ indices.stats.json
|
@@ -1891,7 +1893,7 @@
|
- indices.update_aliases.json
+ indices.update_aliases.json
|
@@ -1907,7 +1909,7 @@
|
- indices.upgrade.json
+ indices.upgrade.json
|
@@ -1923,7 +1925,7 @@
|
- indices.validate_query.json
+ indices.validate_query.json
|
@@ -1939,7 +1941,7 @@
|
- info.json
+ info.json
|
@@ -1955,7 +1957,7 @@
|
- ingest.delete_pipeline.json
+ ingest.delete_pipeline.json
|
@@ -1971,7 +1973,7 @@
|
- ingest.get_pipeline.json
+ ingest.get_pipeline.json
|
@@ -1987,7 +1989,7 @@
|
- ingest.processor_grok.json
+ ingest.processor_grok.json
|
@@ -2003,7 +2005,7 @@
|
- ingest.put_pipeline.json
+ ingest.put_pipeline.json
|
@@ -2019,7 +2021,7 @@
|
- ingest.simulate.json
+ ingest.simulate.json
|
@@ -2035,7 +2037,7 @@
|
- mget.json
+ mget.json
|
@@ -2051,7 +2053,7 @@
|
- msearch.json
+ msearch.json
|
@@ -2067,7 +2069,7 @@
|
- msearch_template.json
+ msearch_template.json
|
@@ -2083,7 +2085,7 @@
|
- mtermvectors.json
+ mtermvectors.json
|
@@ -2099,7 +2101,7 @@
|
- nodes.hot_threads.json
+ nodes.hot_threads.json
|
@@ -2115,7 +2117,7 @@
|
- nodes.info.json
+ nodes.info.json
|
@@ -2131,7 +2133,7 @@
|
- nodes.reload_secure_settings.json
+ nodes.reload_secure_settings.json
|
@@ -2147,7 +2149,7 @@
|
- nodes.stats.json
+ nodes.stats.json
|
@@ -2163,7 +2165,7 @@
|
- nodes.usage.json
+ nodes.usage.json
|
@@ -2179,7 +2181,7 @@
|
- ping.json
+ ping.json
|
@@ -2195,7 +2197,7 @@
|
- put_script.json
+ put_script.json
|
@@ -2211,7 +2213,7 @@
|
- rank_eval.json
+ rank_eval.json
|
@@ -2227,7 +2229,7 @@
|
- reindex.json
+ reindex.json
|
@@ -2243,7 +2245,7 @@
|
- reindex_rethrottle.json
+ reindex_rethrottle.json
|
@@ -2259,7 +2261,7 @@
|
- render_search_template.json
+ render_search_template.json
|
@@ -2275,7 +2277,7 @@
|
- scripts_painless_execute.json
+ scripts_painless_execute.json
|
@@ -2291,7 +2293,7 @@
|
- scroll.json
+ scroll.json
|
@@ -2307,7 +2309,7 @@
|
- search.json
+ search.json
|
@@ -2323,7 +2325,7 @@
|
- search_shards.json
+ search_shards.json
|
@@ -2339,7 +2341,7 @@
|
- search_template.json
+ search_template.json
|
@@ -2355,7 +2357,7 @@
|
- snapshot.create.json
+ snapshot.create.json
|
@@ -2371,7 +2373,7 @@
|
- snapshot.create_repository.json
+ snapshot.create_repository.json
|
@@ -2387,7 +2389,7 @@
|
- snapshot.delete.json
+ snapshot.delete.json
|
@@ -2403,7 +2405,7 @@
|
- snapshot.delete_repository.json
+ snapshot.delete_repository.json
|
@@ -2419,7 +2421,7 @@
|
- snapshot.get.json
+ snapshot.get.json
|
@@ -2435,7 +2437,7 @@
|
- snapshot.get_repository.json
+ snapshot.get_repository.json
|
@@ -2451,7 +2453,7 @@
|
- snapshot.restore.json
+ snapshot.restore.json
|
@@ -2467,7 +2469,7 @@
|
- snapshot.status.json
+ snapshot.status.json
|
@@ -2483,7 +2485,7 @@
|
- snapshot.verify_repository.json
+ snapshot.verify_repository.json
|
@@ -2499,7 +2501,7 @@
|
- tasks.cancel.json
+ tasks.cancel.json
|
@@ -2515,7 +2517,7 @@
|
- tasks.get.json
+ tasks.get.json
|
@@ -2531,7 +2533,7 @@
|
- tasks.list.json
+ tasks.list.json
|
@@ -2547,7 +2549,7 @@
|
- termvectors.json
+ termvectors.json
|
@@ -2563,7 +2565,7 @@
|
- update.json
+ update.json
|
@@ -2579,7 +2581,7 @@
|
- update_by_query.json
+ update_by_query.json
|
@@ -2595,7 +2597,7 @@
|
- update_by_query_rethrottle.json
+ update_by_query_rethrottle.json
|
@@ -2630,7 +2632,7 @@
-
-
-
+
+
+
diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.get_assistance.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.get_assistance.json
deleted file mode 100644
index b4f89205ecb..00000000000
--- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.get_assistance.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "migration.get_assistance": {
- "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html",
- "methods": [ "GET" ],
- "url": {
- "path": "/_migration/assistance",
- "paths": [
- "/_migration/assistance",
- "/_migration/assistance/{index}"
- ],
- "parts": {
- "index": {
- "type" : "list",
- "description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
- }
- },
- "params": {
- "allow_no_indices": {
- "type" : "boolean",
- "description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
- },
- "expand_wildcards": {
- "type" : "enum",
- "options" : ["open","closed","none","all"],
- "default" : "open",
- "description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
- },
- "ignore_unavailable": {
- "type" : "boolean",
- "description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
- }
- }
- }
- }
-}
diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.upgrade.json b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.upgrade.json
deleted file mode 100644
index e5150e8d101..00000000000
--- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/migration.upgrade.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "migration.upgrade": {
- "documentation": "https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html",
- "methods": [ "POST" ],
- "url": {
- "path": "/_migration/upgrade/{index}",
- "paths": [
- "/_migration/upgrade/{index}"
- ],
- "parts": {
- "index": {
- "type" : "string",
- "required" : true,
- "description" : "The name of the index"
- }
- },
- "params": {
- "wait_for_completion": {
- "type" : "boolean",
- "default": true,
- "description" : "Should the request block until the upgrade operation is completed"
- }
- }
- }
- }
-}
diff --git a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/root.html b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/root.html
index 186a48c59b5..a30aea27c16 100644
--- a/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/root.html
+++ b/src/CodeGeneration/ApiGenerator/RestSpecification/XPack/root.html
@@ -18,9 +18,9 @@
-
-
-
+
+
+
@@ -28,20 +28,20 @@
- elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/api at 7.0 · elastic/elasticsearch · GitHub
+ elasticsearch/x-pack/plugin/src/test/resources/rest-api-spec/api at v7.0.0 · elastic/elasticsearch · GitHub
-
+
-
+
@@ -52,7 +52,7 @@
-
+
@@ -70,23 +70,23 @@
-
+
-
+
-
+
-
+
-
+
-
+
@@ -101,11 +101,12 @@
+
-
+
-
+
+
+
@@ -392,6 +402,7 @@ Conne
+
@@ -418,60 +429,62 @@ Conne
+
-
+
Watch
- 2,742
+ aria-label="2763 users are watching this repository">
+ 2,763
-
+
Star
- 40,009
+ aria-label="41887 users starred this repository">
+ 41,887
-
+
Fork
- 13,344
+ aria-label="14006 users forked this repository">
+ 14,006
-
-
Projects
@@ -502,7 +514,11 @@
-
+
+
+ Security
+
+
Insights
@@ -518,16 +534,16 @@
-
-
-
+
Fetching latest commit…
@@ -579,8 +581,8 @@
-
- Permalink
+
+ Permalink
@@ -593,7 +595,7 @@
|
- .. |
+ .. |
|
|
@@ -611,7 +613,7 @@
- ccr.delete_auto_follow_pattern.json
+ ccr.delete_auto_follow_pattern.json
|
@@ -627,7 +629,7 @@
|
- ccr.follow.json
+ ccr.follow.json
|
@@ -643,7 +645,7 @@
|
- ccr.follow_info.json
+ ccr.follow_info.json
|
@@ -659,7 +661,7 @@
|
- ccr.follow_stats.json
+ ccr.follow_stats.json
|
@@ -675,7 +677,7 @@
|
- ccr.forget_follower.json
+ ccr.forget_follower.json
|
@@ -691,7 +693,7 @@
|
- ccr.get_auto_follow_pattern.json
+ ccr.get_auto_follow_pattern.json
|
@@ -707,7 +709,7 @@
|
- ccr.pause_follow.json
+ ccr.pause_follow.json
|
@@ -723,7 +725,7 @@
|
- ccr.put_auto_follow_pattern.json
+ ccr.put_auto_follow_pattern.json
|
@@ -739,7 +741,7 @@
|
- ccr.resume_follow.json
+ ccr.resume_follow.json
|
@@ -755,7 +757,7 @@
|
- ccr.stats.json
+ ccr.stats.json
|
@@ -771,7 +773,7 @@
|
- ccr.unfollow.json
+ ccr.unfollow.json
|
@@ -787,7 +789,7 @@
|
- graph.explore.json
+ graph.explore.json
|
@@ -803,7 +805,7 @@
|
- ilm.delete_lifecycle.json
+ ilm.delete_lifecycle.json
|
@@ -819,7 +821,7 @@
|
- ilm.explain_lifecycle.json
+ ilm.explain_lifecycle.json
|
@@ -835,7 +837,7 @@
|
- ilm.get_lifecycle.json
+ ilm.get_lifecycle.json
|
@@ -851,7 +853,7 @@
|
- ilm.get_status.json
+ ilm.get_status.json
|
@@ -867,7 +869,7 @@
|
- ilm.move_to_step.json
+ ilm.move_to_step.json
|
@@ -883,7 +885,7 @@
|
- ilm.put_lifecycle.json
+ ilm.put_lifecycle.json
|
@@ -899,7 +901,7 @@
|
- ilm.remove_policy.json
+ ilm.remove_policy.json
|
@@ -915,7 +917,7 @@
|
- ilm.retry.json
+ ilm.retry.json
|
@@ -931,7 +933,7 @@
|
- ilm.start.json
+ ilm.start.json
|
@@ -947,7 +949,7 @@
|
- ilm.stop.json
+ ilm.stop.json
|
@@ -963,7 +965,7 @@
|
- indices.freeze.json
+ indices.freeze.json
|
@@ -979,7 +981,7 @@
|
- indices.unfreeze.json
+ indices.unfreeze.json
|
@@ -995,7 +997,7 @@
|
- license.delete.json
+ license.delete.json
|
@@ -1011,7 +1013,7 @@
|
- license.get.json
+ license.get.json
|
@@ -1027,7 +1029,7 @@
|
- license.get_basic_status.json
+ license.get_basic_status.json
|
@@ -1043,7 +1045,7 @@
|
- license.get_trial_status.json
+ license.get_trial_status.json
|
@@ -1059,7 +1061,7 @@
|
- license.post.json
+ license.post.json
|
@@ -1075,7 +1077,7 @@
|
- license.post_start_basic.json
+ license.post_start_basic.json
|
@@ -1091,7 +1093,7 @@
|
- license.post_start_trial.json
+ license.post_start_trial.json
|
@@ -1107,7 +1109,7 @@
|
- migration.deprecations.json
+ migration.deprecations.json
|
@@ -1123,7 +1125,7 @@
|
- ml.close_job.json
+ ml.close_job.json
|
@@ -1139,7 +1141,7 @@
|
- ml.delete_calendar.json
+ ml.delete_calendar.json
|
@@ -1155,7 +1157,7 @@
|
- ml.delete_calendar_event.json
+ ml.delete_calendar_event.json
|
@@ -1171,7 +1173,7 @@
|
- ml.delete_calendar_job.json
+ ml.delete_calendar_job.json
|
@@ -1187,7 +1189,7 @@
|
- ml.delete_datafeed.json
+ ml.delete_datafeed.json
|
@@ -1203,7 +1205,7 @@
|
- ml.delete_expired_data.json
+ ml.delete_expired_data.json
|
@@ -1219,7 +1221,7 @@
|
- ml.delete_filter.json
+ ml.delete_filter.json
|
@@ -1235,7 +1237,7 @@
|
- ml.delete_forecast.json
+ ml.delete_forecast.json
|
@@ -1251,7 +1253,7 @@
|
- ml.delete_job.json
+ ml.delete_job.json
|
@@ -1267,7 +1269,7 @@
|
- ml.delete_model_snapshot.json
+ ml.delete_model_snapshot.json
|
@@ -1283,7 +1285,7 @@
|
- ml.find_file_structure.json
+ ml.find_file_structure.json
|
@@ -1299,7 +1301,7 @@
|
- ml.flush_job.json
+ ml.flush_job.json
|
@@ -1315,7 +1317,7 @@
|
- ml.forecast.json
+ ml.forecast.json
|
@@ -1331,7 +1333,7 @@
|
- ml.get_buckets.json
+ ml.get_buckets.json
|
@@ -1347,7 +1349,7 @@
|
- ml.get_calendar_events.json
+ ml.get_calendar_events.json
|
@@ -1363,7 +1365,7 @@
|
- ml.get_calendars.json
+ ml.get_calendars.json
|
@@ -1379,7 +1381,7 @@
|
- ml.get_categories.json
+ ml.get_categories.json
|
@@ -1395,7 +1397,7 @@
|
- ml.get_datafeed_stats.json
+ ml.get_datafeed_stats.json
|
@@ -1411,7 +1413,7 @@
|
- ml.get_datafeeds.json
+ ml.get_datafeeds.json
|
@@ -1427,7 +1429,7 @@
|
- ml.get_filters.json
+ ml.get_filters.json
|
@@ -1443,7 +1445,7 @@
|
- ml.get_influencers.json
+ ml.get_influencers.json
|
@@ -1459,7 +1461,7 @@
|
- ml.get_job_stats.json
+ ml.get_job_stats.json
|
@@ -1475,7 +1477,7 @@
|
- ml.get_jobs.json
+ ml.get_jobs.json
|
@@ -1491,7 +1493,7 @@
|
- ml.get_model_snapshots.json
+ ml.get_model_snapshots.json
|
@@ -1507,7 +1509,7 @@
|
- ml.get_overall_buckets.json
+ ml.get_overall_buckets.json
|
@@ -1523,7 +1525,7 @@
|
- ml.get_records.json
+ ml.get_records.json
|
@@ -1539,7 +1541,7 @@
|
- ml.info.json
+ ml.info.json
|
@@ -1555,7 +1557,7 @@
|
- ml.open_job.json
+ ml.open_job.json
|
@@ -1571,7 +1573,7 @@
|
- ml.post_calendar_events.json
+ ml.post_calendar_events.json
|
@@ -1587,7 +1589,7 @@
|
- ml.post_data.json
+ ml.post_data.json
|
@@ -1603,7 +1605,7 @@
|
- ml.preview_datafeed.json
+ ml.preview_datafeed.json
|
@@ -1619,7 +1621,7 @@
|
- ml.put_calendar.json
+ ml.put_calendar.json
|
@@ -1635,7 +1637,7 @@
|
- ml.put_calendar_job.json
+ ml.put_calendar_job.json
|
@@ -1651,7 +1653,7 @@
|
- ml.put_datafeed.json
+ ml.put_datafeed.json
|
@@ -1667,7 +1669,7 @@
|
- ml.put_filter.json
+ ml.put_filter.json
|
@@ -1683,7 +1685,7 @@
|
- ml.put_job.json
+ ml.put_job.json
|
@@ -1699,7 +1701,7 @@
|
- ml.revert_model_snapshot.json
+ ml.revert_model_snapshot.json
|
@@ -1715,7 +1717,7 @@
|
- ml.set_upgrade_mode.json
+ ml.set_upgrade_mode.json
|
@@ -1731,7 +1733,7 @@
|
- ml.start_datafeed.json
+ ml.start_datafeed.json
|
@@ -1747,7 +1749,7 @@
|
- ml.stop_datafeed.json
+ ml.stop_datafeed.json
|
@@ -1763,7 +1765,7 @@
|
- ml.update_datafeed.json
+ ml.update_datafeed.json
|
@@ -1779,7 +1781,7 @@
|
- ml.update_filter.json
+ ml.update_filter.json
|
@@ -1795,7 +1797,7 @@
|
- ml.update_job.json
+ ml.update_job.json
|
@@ -1811,7 +1813,7 @@
|
- ml.update_model_snapshot.json
+ ml.update_model_snapshot.json
|
@@ -1827,7 +1829,7 @@
|
- ml.validate.json
+ ml.validate.json
|
@@ -1843,7 +1845,7 @@
|
- ml.validate_detector.json
+ ml.validate_detector.json
|
@@ -1859,7 +1861,7 @@
|
- monitoring.bulk.json
+ monitoring.bulk.json
|
@@ -1875,7 +1877,7 @@
|
- rollup.delete_job.json
+ rollup.delete_job.json
|
@@ -1891,7 +1893,7 @@
|
- rollup.get_jobs.json
+ rollup.get_jobs.json
|
@@ -1907,7 +1909,7 @@
|
- rollup.get_rollup_caps.json
+ rollup.get_rollup_caps.json
|
@@ -1923,7 +1925,7 @@
|
- rollup.get_rollup_index_caps.json
+ rollup.get_rollup_index_caps.json
|
@@ -1939,7 +1941,7 @@
|
- rollup.put_job.json
+ rollup.put_job.json
|
@@ -1955,7 +1957,7 @@
|
- rollup.rollup_search.json
+ rollup.rollup_search.json
|
@@ -1971,7 +1973,7 @@
|
- rollup.start_job.json
+ rollup.start_job.json
|
@@ -1987,7 +1989,7 @@
|
- rollup.stop_job.json
+ rollup.stop_job.json
|
@@ -2003,7 +2005,7 @@
|
- security.authenticate.json
+ security.authenticate.json
|
@@ -2019,7 +2021,7 @@
|
- security.change_password.json
+ security.change_password.json
|
@@ -2035,7 +2037,7 @@
|
- security.clear_cached_realms.json
+ security.clear_cached_realms.json
|
@@ -2051,7 +2053,7 @@
|
- security.clear_cached_roles.json
+ security.clear_cached_roles.json
|
@@ -2067,7 +2069,7 @@
|
- security.create_api_key.json
+ security.create_api_key.json
|
@@ -2083,7 +2085,7 @@
|
- security.delete_privileges.json
+ security.delete_privileges.json
|
@@ -2099,7 +2101,7 @@
|
- security.delete_role.json
+ security.delete_role.json
|
@@ -2115,7 +2117,7 @@
|
- security.delete_role_mapping.json
+ security.delete_role_mapping.json
|
@@ -2131,7 +2133,7 @@
|
- security.delete_user.json
+ security.delete_user.json
|
@@ -2147,7 +2149,7 @@
|
- security.disable_user.json
+ security.disable_user.json
|
@@ -2163,7 +2165,7 @@
|
- security.enable_user.json
+ security.enable_user.json
|
@@ -2179,7 +2181,7 @@
|
- security.get_api_key.json
+ security.get_api_key.json
|
@@ -2195,7 +2197,7 @@
|
- security.get_privileges.json
+ security.get_privileges.json
|
@@ -2211,7 +2213,7 @@
|
- security.get_role.json
+ security.get_role.json
|
@@ -2227,7 +2229,7 @@
|
- security.get_role_mapping.json
+ security.get_role_mapping.json
|
@@ -2243,7 +2245,7 @@
|
- security.get_token.json
+ security.get_token.json
|
@@ -2259,7 +2261,7 @@
|
- security.get_user.json
+ security.get_user.json
|
@@ -2275,7 +2277,7 @@
|
- security.get_user_privileges.json
+ security.get_user_privileges.json
|
@@ -2291,7 +2293,7 @@
|
- security.has_privileges.json
+ security.has_privileges.json
|
@@ -2307,7 +2309,7 @@
|
- security.invalidate_api_key.json
+ security.invalidate_api_key.json
|
@@ -2323,7 +2325,7 @@
|
- security.invalidate_token.json
+ security.invalidate_token.json
|
@@ -2339,7 +2341,7 @@
|
- security.put_privileges.json
+ security.put_privileges.json
|
@@ -2355,7 +2357,7 @@
|
- security.put_role.json
+ security.put_role.json
|
@@ -2371,7 +2373,7 @@
|
- security.put_role_mapping.json
+ security.put_role_mapping.json
|
@@ -2387,7 +2389,7 @@
|
- security.put_user.json
+ security.put_user.json
|
@@ -2403,7 +2405,7 @@
|
- sql.clear_cursor.json
+ sql.clear_cursor.json
|
@@ -2419,7 +2421,7 @@
|
- sql.query.json
+ sql.query.json
|
@@ -2435,7 +2437,7 @@
|
- sql.translate.json
+ sql.translate.json
|
@@ -2451,7 +2453,7 @@
|
- ssl.certificates.json
+ ssl.certificates.json
|
@@ -2467,7 +2469,7 @@
|
- watcher.ack_watch.json
+ watcher.ack_watch.json
|
@@ -2483,7 +2485,7 @@
|
- watcher.activate_watch.json
+ watcher.activate_watch.json
|
@@ -2499,7 +2501,7 @@
|
- watcher.deactivate_watch.json
+ watcher.deactivate_watch.json
|
@@ -2515,7 +2517,7 @@
|
- watcher.delete_watch.json
+ watcher.delete_watch.json
|
@@ -2531,7 +2533,7 @@
|
- watcher.execute_watch.json
+ watcher.execute_watch.json
|
@@ -2547,7 +2549,7 @@
|
- watcher.get_watch.json
+ watcher.get_watch.json
|
@@ -2563,7 +2565,7 @@
|
- watcher.put_watch.json
+ watcher.put_watch.json
|
@@ -2579,7 +2581,7 @@
|
- watcher.start.json
+ watcher.start.json
|
@@ -2595,7 +2597,7 @@
|
- watcher.stats.json
+ watcher.stats.json
|
@@ -2611,7 +2613,7 @@
|
- watcher.stop.json
+ watcher.stop.json
|
@@ -2627,7 +2629,7 @@
|
- xpack.info.json
+ xpack.info.json
|
@@ -2643,7 +2645,7 @@
|
- xpack.usage.json
+ xpack.usage.json
|
@@ -2678,7 +2680,7 @@
-
-
-
+
+
+
diff --git a/src/CodeGeneration/ApiGenerator/last_downloaded_version.txt b/src/CodeGeneration/ApiGenerator/last_downloaded_version.txt
index 7104585f9a4..52b9e4083c6 100644
--- a/src/CodeGeneration/ApiGenerator/last_downloaded_version.txt
+++ b/src/CodeGeneration/ApiGenerator/last_downloaded_version.txt
@@ -1 +1 @@
-7.0
\ No newline at end of file
+v7.0.0
\ No newline at end of file
diff --git a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Migration.cs b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Migration.cs
index fb708b81a69..130f05f90fc 100644
--- a/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Migration.cs
+++ b/src/Elasticsearch.Net/Api/RequestParameters/RequestParameters.Migration.cs
@@ -29,45 +29,4 @@ public class DeprecationInfoRequestParameters : RequestParameters HttpMethod.GET;
}
-
- ///Request options for Assistance https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- public class MigrationAssistanceRequestParameters : RequestParameters
- {
- public override HttpMethod DefaultHttpMethod => HttpMethod.GET;
- ///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have
- /// been specified)
- ///
- public bool? AllowNoIndices
- {
- get => Q("allow_no_indices");
- set => Q("allow_no_indices", value);
- }
-
- ///Whether to expand wildcard expression to concrete indices that are open, closed or both.
- public ExpandWildcards? ExpandWildcards
- {
- get => Q("expand_wildcards");
- set => Q("expand_wildcards", value);
- }
-
- ///Whether specified concrete indices should be ignored when unavailable (missing or closed)
- public bool? IgnoreUnavailable
- {
- get => Q("ignore_unavailable");
- set => Q("ignore_unavailable", value);
- }
- }
-
- ///Request options for Upgrade https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- public class MigrationUpgradeRequestParameters : RequestParameters
- {
- public override HttpMethod DefaultHttpMethod => HttpMethod.POST;
- ///Should the request block until the upgrade operation is completed
- public bool? WaitForCompletion
- {
- get => Q("wait_for_completion");
- set => Q("wait_for_completion", value);
- }
- }
}
\ No newline at end of file
diff --git a/src/Elasticsearch.Net/ElasticLowLevelClient.Migration.cs b/src/Elasticsearch.Net/ElasticLowLevelClient.Migration.cs
index f772fcccc7a..3a212e83860 100644
--- a/src/Elasticsearch.Net/ElasticLowLevelClient.Migration.cs
+++ b/src/Elasticsearch.Net/ElasticLowLevelClient.Migration.cs
@@ -61,33 +61,5 @@ public TResponse DeprecationInfo(string index, DeprecationInfoRequest
///Request specific configuration such as querystring parameters & request specific connection settings.
public Task DeprecationInfoAsync(string index, DeprecationInfoRequestParameters requestParameters = null, CancellationToken ctx = default)
where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"{index:index}/_migration/deprecations"), ctx, null, RequestParams(requestParameters));
- ///GET on /_migration/assistance https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public TResponse Assistance(MigrationAssistanceRequestParameters requestParameters = null)
- where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, "_migration/assistance", null, RequestParams(requestParameters));
- ///GET on /_migration/assistance https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public Task AssistanceAsync(MigrationAssistanceRequestParameters requestParameters = null, CancellationToken ctx = default)
- where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, "_migration/assistance", ctx, null, RequestParams(requestParameters));
- ///GET on /_migration/assistance/{index} https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public TResponse Assistance(string index, MigrationAssistanceRequestParameters requestParameters = null)
- where TResponse : class, IElasticsearchResponse, new() => DoRequest(GET, Url($"_migration/assistance/{index:index}"), null, RequestParams(requestParameters));
- ///GET on /_migration/assistance/{index} https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public Task AssistanceAsync(string index, MigrationAssistanceRequestParameters requestParameters = null, CancellationToken ctx = default)
- where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(GET, Url($"_migration/assistance/{index:index}"), ctx, null, RequestParams(requestParameters));
- ///POST on /_migration/upgrade/{index} https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///The name of the index
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public TResponse Upgrade(string index, MigrationUpgradeRequestParameters requestParameters = null)
- where TResponse : class, IElasticsearchResponse, new() => DoRequest(POST, Url($"_migration/upgrade/{index:index}"), null, RequestParams(requestParameters));
- ///POST on /_migration/upgrade/{index} https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///The name of the index
- ///Request specific configuration such as querystring parameters & request specific connection settings.
- public Task UpgradeAsync(string index, MigrationUpgradeRequestParameters requestParameters = null, CancellationToken ctx = default)
- where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(POST, Url($"_migration/upgrade/{index:index}"), ctx, null, RequestParams(requestParameters));
}
}
\ No newline at end of file
diff --git a/src/Nest/Descriptors.Migration.cs b/src/Nest/Descriptors.Migration.cs
index 0e2abfa12b5..23143d0659e 100644
--- a/src/Nest/Descriptors.Migration.cs
+++ b/src/Nest/Descriptors.Migration.cs
@@ -54,65 +54,4 @@ public DeprecationInfoDescriptor Index()
where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Optional("index", (IndexName)v));
// Request parameters
}
-
- ///descriptor for Assistance https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- public partial class MigrationAssistanceDescriptor : RequestDescriptorBase, IMigrationAssistanceRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.MigrationAssistance;
- ////_migration/assistance
- public MigrationAssistanceDescriptor(): base()
- {
- }
-
- ////_migration/assistance/{index}
- ///Optional, accepts null
- public MigrationAssistanceDescriptor(Indices index): base(r => r.Optional("index", index))
- {
- }
-
- // values part of the url path
- Indices IMigrationAssistanceRequest.Index => Self.RouteValues.Get("index");
- ///A comma-separated list of index names; use the special string `_all` or Indices.All to perform the operation on all indices
- public MigrationAssistanceDescriptor Index(Indices index) => Assign(index, (a, v) => a.RouteValues.Optional("index", v));
- ///a shortcut into calling Index(typeof(TOther))
- public MigrationAssistanceDescriptor Index()
- where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Optional("index", (Indices)v));
- ///A shortcut into calling Index(Indices.All)
- public MigrationAssistanceDescriptor AllIndices() => Index(Indices.All);
- // Request parameters
- ///Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)
- public MigrationAssistanceDescriptor AllowNoIndices(bool? allownoindices = true) => Qs("allow_no_indices", allownoindices);
- ///Whether to expand wildcard expression to concrete indices that are open, closed or both.
- public MigrationAssistanceDescriptor ExpandWildcards(ExpandWildcards? expandwildcards) => Qs("expand_wildcards", expandwildcards);
- ///Whether specified concrete indices should be ignored when unavailable (missing or closed)
- public MigrationAssistanceDescriptor IgnoreUnavailable(bool? ignoreunavailable = true) => Qs("ignore_unavailable", ignoreunavailable);
- }
-
- ///descriptor for Upgrade https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- public partial class MigrationUpgradeDescriptor : RequestDescriptorBase, IMigrationUpgradeRequest
- {
- internal override ApiUrls ApiUrls => ApiUrlsLookups.MigrationUpgrade;
- ////_migration/upgrade/{index}
- ///this parameter is required
- public MigrationUpgradeDescriptor(IndexName index): base(r => r.Required("index", index))
- {
- }
-
- ///Used for serialization purposes, making sure we have a parameterless constructor
- [SerializationConstructor]
- protected MigrationUpgradeDescriptor(): base()
- {
- }
-
- // values part of the url path
- IndexName IMigrationUpgradeRequest.Index => Self.RouteValues.Get("index");
- ///The name of the index
- public MigrationUpgradeDescriptor Index(IndexName index) => Assign(index, (a, v) => a.RouteValues.Required("index", v));
- ///a shortcut into calling Index(typeof(TOther))
- public MigrationUpgradeDescriptor Index()
- where TOther : class => Assign(typeof(TOther), (a, v) => a.RouteValues.Required("index", (IndexName)v));
- // Request parameters
- ///Should the request block until the upgrade operation is completed
- public MigrationUpgradeDescriptor WaitForCompletion(bool? waitforcompletion = true) => Qs("wait_for_completion", waitforcompletion);
- }
}
\ No newline at end of file
diff --git a/src/Nest/ElasticClient.Migration.cs b/src/Nest/ElasticClient.Migration.cs
index 875ce3175bb..5c5e46ae994 100644
--- a/src/Nest/ElasticClient.Migration.cs
+++ b/src/Nest/ElasticClient.Migration.cs
@@ -60,53 +60,5 @@ internal MigrationNamespace(ElasticClient client): base(client)
/// http://www.elastic.co/guide/en/migration/current/migration-api-deprecation.html
///
public Task DeprecationInfoAsync(IDeprecationInfoRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// GET request to the migration.get_assistance API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///
- public MigrationAssistanceResponse Assistance(Indices index = null, Func selector = null) => Assistance(selector.InvokeOrDefault(new MigrationAssistanceDescriptor().Index(index: index)));
- ///
- /// GET request to the migration.get_assistance API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///
- public Task AssistanceAsync(Indices index = null, Func selector = null, CancellationToken ct = default) => AssistanceAsync(selector.InvokeOrDefault(new MigrationAssistanceDescriptor().Index(index: index)), ct);
- ///
- /// GET request to the migration.get_assistance API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///
- public MigrationAssistanceResponse Assistance(IMigrationAssistanceRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// GET request to the migration.get_assistance API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- ///
- public Task AssistanceAsync(IMigrationAssistanceRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
- ///
- /// POST request to the migration.upgrade API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///
- public MigrationUpgradeResponse Upgrade(IndexName index, Func selector = null) => Upgrade(selector.InvokeOrDefault(new MigrationUpgradeDescriptor(index: index)));
- ///
- /// POST request to the migration.upgrade API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///
- public Task UpgradeAsync(IndexName index, Func selector = null, CancellationToken ct = default) => UpgradeAsync(selector.InvokeOrDefault(new MigrationUpgradeDescriptor(index: index)), ct);
- ///
- /// POST request to the migration.upgrade API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///
- public MigrationUpgradeResponse Upgrade(IMigrationUpgradeRequest request) => DoRequest(request, request.RequestParameters);
- ///
- /// POST request to the migration.upgrade API, read more about this API online:
- ///
- /// https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- ///
- public Task UpgradeAsync(IMigrationUpgradeRequest request, CancellationToken ct = default) => DoRequestAsync(request, request.RequestParameters, ct);
}
}
\ No newline at end of file
diff --git a/src/Nest/Requests.Migration.cs b/src/Nest/Requests.Migration.cs
index 94f4b2cb49c..e79a5908be6 100644
--- a/src/Nest/Requests.Migration.cs
+++ b/src/Nest/Requests.Migration.cs
@@ -62,98 +62,4 @@ public DeprecationInfoRequest(IndexName index): base(r => r.Optional("index", in
IndexName IDeprecationInfoRequest.Index => Self.RouteValues.Get("index");
// Request parameters
}
-
- [InterfaceDataContract]
- public partial interface IMigrationAssistanceRequest : IRequest
- {
- [IgnoreDataMember]
- Indices Index
- {
- get;
- }
- }
-
- ///Request for Assistance https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-assistance.html
- public partial class MigrationAssistanceRequest : PlainRequestBase, IMigrationAssistanceRequest
- {
- protected IMigrationAssistanceRequest Self => this;
- internal override ApiUrls ApiUrls => ApiUrlsLookups.MigrationAssistance;
- ////_migration/assistance
- public MigrationAssistanceRequest(): base()
- {
- }
-
- ////_migration/assistance/{index}
- ///Optional, accepts null
- public MigrationAssistanceRequest(Indices index): base(r => r.Optional("index", index))
- {
- }
-
- // values part of the url path
- [IgnoreDataMember]
- Indices IMigrationAssistanceRequest.Index => Self.RouteValues.Get("index");
- // Request parameters
- ///
- /// Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have
- /// been specified)
- ///
- public bool? AllowNoIndices
- {
- get => Q("allow_no_indices");
- set => Q("allow_no_indices", value);
- }
-
- ///Whether to expand wildcard expression to concrete indices that are open, closed or both.
- public ExpandWildcards? ExpandWildcards
- {
- get => Q("expand_wildcards");
- set => Q("expand_wildcards", value);
- }
-
- ///Whether specified concrete indices should be ignored when unavailable (missing or closed)
- public bool? IgnoreUnavailable
- {
- get => Q("ignore_unavailable");
- set => Q("ignore_unavailable", value);
- }
- }
-
- [InterfaceDataContract]
- public partial interface IMigrationUpgradeRequest : IRequest
- {
- [IgnoreDataMember]
- IndexName Index
- {
- get;
- }
- }
-
- ///Request for Upgrade https://www.elastic.co/guide/en/elasticsearch/reference/current/migration-api-upgrade.html
- public partial class MigrationUpgradeRequest : PlainRequestBase, IMigrationUpgradeRequest
- {
- protected IMigrationUpgradeRequest Self => this;
- internal override ApiUrls ApiUrls => ApiUrlsLookups.MigrationUpgrade;
- ////_migration/upgrade/{index}
- ///this parameter is required
- public MigrationUpgradeRequest(IndexName index): base(r => r.Required("index", index))
- {
- }
-
- ///Used for serialization purposes, making sure we have a parameterless constructor
- [SerializationConstructor]
- protected MigrationUpgradeRequest(): base()
- {
- }
-
- // values part of the url path
- [IgnoreDataMember]
- IndexName IMigrationUpgradeRequest.Index => Self.RouteValues.Get("index");
- // Request parameters
- ///Should the request block until the upgrade operation is completed
- public bool? WaitForCompletion
- {
- get => Q("wait_for_completion");
- set => Q("wait_for_completion", value);
- }
- }
}
\ No newline at end of file
diff --git a/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceRequest.cs b/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceRequest.cs
deleted file mode 100644
index c14e4453e8b..00000000000
--- a/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceRequest.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Nest
-{
- [MapsApi("migration.get_assistance.json")]
- public partial interface IMigrationAssistanceRequest { }
-
- public partial class MigrationAssistanceRequest { }
-
- public partial class MigrationAssistanceDescriptor : IMigrationAssistanceRequest { }
-}
diff --git a/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceResponse.cs b/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceResponse.cs
deleted file mode 100644
index 19e99a52146..00000000000
--- a/src/Nest/XPack/Migration/MigrationAssistance/MigrationAssistanceResponse.cs
+++ /dev/null
@@ -1,36 +0,0 @@
-using System.Collections.Generic;
-using System.Runtime.Serialization;
-using Elasticsearch.Net;
-
-
-namespace Nest
-{
- public class MigrationAssistanceResponse : ResponseBase
- {
- [DataMember(Name ="indices")]
- public IReadOnlyDictionary Indices { get; internal set; } =
- EmptyReadOnly.Dictionary;
- }
-
- public class IndexUpgradeCheck
- {
- [DataMember(Name ="action_required")]
- public UpgradeActionRequired ActionRequired { get; internal set; }
- }
-
- [StringEnum]
- public enum UpgradeActionRequired
- {
- [EnumMember(Value = "not_applicable")]
- NotApplicable,
-
- [EnumMember(Value = "up_to_date")]
- UpToDate,
-
- [EnumMember(Value = "reindex")]
- Reindex,
-
- [EnumMember(Value = "upgrade")]
- Upgrade
- }
-}
diff --git a/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeRequest.cs b/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeRequest.cs
deleted file mode 100644
index 53d695c5736..00000000000
--- a/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeRequest.cs
+++ /dev/null
@@ -1,9 +0,0 @@
-namespace Nest
-{
- [MapsApi("migration.upgrade.json")]
- public partial interface IMigrationUpgradeRequest { }
-
- public partial class MigrationUpgradeRequest { }
-
- public partial class MigrationUpgradeDescriptor : IMigrationUpgradeRequest { }
-}
diff --git a/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeResponse.cs b/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeResponse.cs
deleted file mode 100644
index 9c953e37dcf..00000000000
--- a/src/Nest/XPack/Migration/MigrationUpgrade/MigrationUpgradeResponse.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System.Collections.Generic;
-using System.Runtime.Serialization;
-using Elasticsearch.Net.Specification.MigrationApi;
-
-namespace Nest
-{
- public class MigrationUpgradeResponse : ResponseBase
- {
- public override bool IsValid => ApiCall?.HttpStatusCode == 200 && !Failures.HasAny();
-
- [DataMember(Name ="batches")]
- public long Batches { get; internal set; }
-
- [DataMember(Name ="created")]
- public long Created { get; internal set; }
-
- [DataMember(Name ="deleted")]
- public long Deleted { get; internal set; }
-
- [DataMember(Name = "failures")]
- public IReadOnlyCollection Failures { get; internal set; }
- = EmptyReadOnly.Collection;
-
- [DataMember(Name ="noops")]
- public long Noops { get; internal set; }
-
- [DataMember(Name ="retries")]
- public Retries Retries { get; internal set; }
-
- ///
- /// The id of the task if
- /// is set to false on the request
- ///
- [DataMember(Name ="task")]
- public TaskId Task { get; internal set; }
-
- [DataMember(Name ="throttled_millis")]
- public long ThrottledMilliseconds { get; internal set; }
-
- [DataMember(Name ="timed_out")]
- public bool TimedOut { get; internal set; }
-
- [DataMember(Name ="took")]
- public long Took { get; internal set; }
-
- [DataMember(Name ="total")]
- public long Total { get; internal set; }
-
- [DataMember(Name ="updated")]
- public long Updated { get; internal set; }
-
- [DataMember(Name ="version_conflicts")]
- public long VersionConflicts { get; internal set; }
- }
-}
diff --git a/src/Nest/_Generated/ApiUrlsLookup.generated.cs b/src/Nest/_Generated/ApiUrlsLookup.generated.cs
index bf1e58a603e..f3367f61022 100644
--- a/src/Nest/_Generated/ApiUrlsLookup.generated.cs
+++ b/src/Nest/_Generated/ApiUrlsLookup.generated.cs
@@ -135,8 +135,6 @@ internal static class ApiUrlsLookups
internal static ApiUrls LicenseStartTrial = new ApiUrls(new[]{"_license/start_trial"});
internal static ApiUrls NoNamespaceMultiGet = new ApiUrls(new[]{"_mget", "{index}/_mget"});
internal static ApiUrls MigrationDeprecationInfo = new ApiUrls(new[]{"_migration/deprecations", "{index}/_migration/deprecations"});
- internal static ApiUrls MigrationAssistance = new ApiUrls(new[]{"_migration/assistance", "_migration/assistance/{index}"});
- internal static ApiUrls MigrationUpgrade = new ApiUrls(new[]{"_migration/upgrade/{index}"});
internal static ApiUrls MachineLearningCloseJob = new ApiUrls(new[]{"_ml/anomaly_detectors/{job_id}/_close"});
internal static ApiUrls MachineLearningDeleteCalendar = new ApiUrls(new[]{"_ml/calendars/{calendar_id}"});
internal static ApiUrls MachineLearningDeleteCalendarEvent = new ApiUrls(new[]{"_ml/calendars/{calendar_id}/events/{event_id}"});
diff --git a/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceApiTests.cs b/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceApiTests.cs
deleted file mode 100644
index 87ea9cb2358..00000000000
--- a/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceApiTests.cs
+++ /dev/null
@@ -1,41 +0,0 @@
-using System.Collections.Generic;
-using Elastic.Xunit.XunitPlumbing;
-using FluentAssertions;
-using Nest;
-using Tests.Core.Client;
-using Tests.Core.Extensions;
-
-namespace Tests.XPack.Migration.MigrationAssistance
-{
- public class MigrationAssistanceApiTests
- {
- [U] public void ShouldDeserialize()
- {
- var fixedResponse = new
- {
- indices = new Dictionary()
- {
- { ".watches", new { action_required = "upgrade" } },
- { ".security", new { action_required = "upgrade" } },
- { "my_old_index", new { action_required = "reindex" } },
- { "my_other_old_index", new { action_required = "reindex" } },
- }
- };
-
- var client = FixedResponseClient.Create(fixedResponse);
-
- var response = client.Migration.Assistance();
- response.ShouldBeValid();
- response.Indices.Should().NotBeNull().And.HaveCount(4);
-
- foreach (var index in response.Indices)
- {
- index.Value.Should().NotBeNull();
- if (index.Key.Name == ".watches" || index.Key.Name == ".security")
- index.Value.ActionRequired.Should().Be(UpgradeActionRequired.Upgrade);
- else
- index.Value.ActionRequired.Should().Be(UpgradeActionRequired.Reindex);
- }
- }
- }
-}
diff --git a/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceUrlTests.cs b/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceUrlTests.cs
deleted file mode 100644
index c63329a22fe..00000000000
--- a/src/Tests/Tests/XPack/Migration/MigrationAssistance/MigrationAssistanceUrlTests.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-using System.Threading.Tasks;
-using Elastic.Xunit.XunitPlumbing;
-using Nest;
-using Tests.Framework.EndpointTests;
-using static Tests.Framework.EndpointTests.UrlTester;
-
-namespace Tests.XPack.Migration.MigrationAssistance
-{
- public class MigrationAssistanceUrlTests : UrlTestsBase
- {
- [U] public override async Task Urls()
- {
- await GET("/_migration/assistance")
- .Fluent(c => c.Migration.Assistance())
- .Request(c => c.Migration.Assistance(new MigrationAssistanceRequest()))
- .FluentAsync(c => c.Migration.AssistanceAsync())
- .RequestAsync(c => c.Migration.AssistanceAsync(new MigrationAssistanceRequest()))
- ;
-
- var index = "another-index";
-
- await GET($"/_migration/assistance/{index}")
- .Fluent(c => c.Migration.Assistance(index))
- .Request(c => c.Migration.Assistance(new MigrationAssistanceRequest(index)))
- .FluentAsync(c => c.Migration.AssistanceAsync(index))
- .RequestAsync(c => c.Migration.AssistanceAsync(new MigrationAssistanceRequest(index)))
- ;
- }
- }
-}
diff --git a/src/Tests/Tests/XPack/Migration/MigrationUpgrade/InvalidMigrationUpgradeApiTests.cs b/src/Tests/Tests/XPack/Migration/MigrationUpgrade/InvalidMigrationUpgradeApiTests.cs
deleted file mode 100644
index 2b51b8a535d..00000000000
--- a/src/Tests/Tests/XPack/Migration/MigrationUpgrade/InvalidMigrationUpgradeApiTests.cs
+++ /dev/null
@@ -1,60 +0,0 @@
-using System;
-using Elastic.Xunit.XunitPlumbing;
-using Elasticsearch.Net;
-using FluentAssertions;
-using Nest;
-using Tests.Core.Extensions;
-using Tests.Core.ManagedElasticsearch.Clusters;
-using Tests.Framework.EndpointTests;
-using Tests.Framework.EndpointTests.TestState;
-
-namespace Tests.XPack.Migration.MigrationUpgrade
-{
- [SkipVersion("<6.3.0", "Not running on latest version")]
- public class InvalidMigrationUpgradeApiTests
- : ApiIntegrationTestBase
- {
- public InvalidMigrationUpgradeApiTests(XPackCluster cluster, EndpointUsage usage)
- : base(cluster, usage) { }
-
- protected override bool ExpectIsValid => false;
-
- protected override object ExpectJson => null;
- protected override int ExpectStatusCode => 400;
-
- protected override Func Fluent => f => f;
- protected override HttpMethod HttpMethod => HttpMethod.POST;
-
- protected override MigrationUpgradeRequest Initializer => new MigrationUpgradeRequest(CallIsolatedValue);
-
- protected override string UrlPath => $"/_migration/upgrade/{CallIsolatedValue}";
-
- protected override LazyResponses ClientUsage() => Calls(
- (c, f) => c.Migration.Upgrade(CallIsolatedValue, f),
- (c, f) => c.Migration.UpgradeAsync(CallIsolatedValue, f),
- (c, r) => c.Migration.Upgrade(r),
- (c, r) => c.Migration.UpgradeAsync(r)
- );
-
- protected override MigrationUpgradeDescriptor NewDescriptor() => new MigrationUpgradeDescriptor(CallIsolatedValue);
-
- protected override void IntegrationSetup(IElasticClient client, CallUniqueValues values)
- {
- foreach (var (k, v) in values)
- client.Indices.Create(v);
- }
- protected override void IntegrationTeardown(IElasticClient client, CallUniqueValues values)
- {
- foreach (var (k, v) in values)
- client.Indices.Delete(v);
- }
-
- protected override void ExpectResponse(MigrationUpgradeResponse response)
- {
- response.ShouldNotBeValid();
- response.ServerError.Should().NotBeNull();
- response.ServerError.Status.Should().Be(400);
- }
- }
-}
diff --git a/src/Tests/Tests/XPack/Migration/MigrationUpgrade/MigrationUpgradeUrlTests.cs b/src/Tests/Tests/XPack/Migration/MigrationUpgrade/MigrationUpgradeUrlTests.cs
deleted file mode 100644
index 25f05d37210..00000000000
--- a/src/Tests/Tests/XPack/Migration/MigrationUpgrade/MigrationUpgradeUrlTests.cs
+++ /dev/null
@@ -1,17 +0,0 @@
-using System.Threading.Tasks;
-using Elastic.Xunit.XunitPlumbing;
-using Nest;
-using Tests.Framework.EndpointTests;
-using static Tests.Framework.EndpointTests.UrlTester;
-
-namespace Tests.XPack.Migration.MigrationUpgrade
-{
- public class MigrationUpgradeUrlTests : UrlTestsBase
- {
- [U] public override async Task Urls() => await POST($"/_migration/upgrade/index")
- .Fluent(c => c.Migration.Upgrade("index"))
- .Request(c => c.Migration.Upgrade(new MigrationUpgradeRequest("index")))
- .FluentAsync(c => c.Migration.UpgradeAsync("index"))
- .RequestAsync(c => c.Migration.UpgradeAsync(new MigrationUpgradeRequest("index")));
- }
-}
| |