From 2d3dbfca30cc645e3be6c0fa65b969285a8fbb53 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 20 Apr 2023 10:21:18 -0700 Subject: [PATCH] [Manual Backport 2.x] [Docs] [Console] Fixed/updated documentation links in Dev Tools console (#3883) (#3893) * [Docs] [Console] Fixed/updated documentation links in Dev Tools console (#3724) * Update console documentation links to corresponding documentation pages * Update console documentation links to https://opensearch.org/docs/ because corresponding pages are missing/not yet written in documentation * Update console documentation links for component_template delete, get and exists * Update console documentation links for info.json and ping.json to index page https://opensearch.org/docs/ * Fix: added missing documentation links to get_script_context and get_script_languages * Update links to processors in comments to their working documentation pages * Update links to processors with no corresponding pages in documentation to the general page about processors https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ * Update CHANGELOG.md * Update cluster.* links with missing docs to https://opensearch.org/docs/latest/api-reference/cluster-api/index/ * Update indices.* links with missing docs to https://opensearch.org/docs/latest/api-reference/index-apis/index/ * Update links with anchor # if applicable * Update links --------- (cherry picked from commit 01a0baf4a62725ee6e53f5f3c65fb4c4eb0e09c0) * remove changelog additions --------- (cherry picked from commit 46b76b308c8353a13d0531f2c40dd0bd71a1ada0) Signed-off-by: Josh Romero <rmerqg@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Sirazh Gabdullin <sirazh.gabdullin@nu.edu.kz> --- .../server/lib/spec_definitions/js/ingest.ts | 66 +++++++++---------- .../spec_definitions/json/generated/bulk.json | 4 +- .../json/generated/cat.aliases.json | 4 +- .../json/generated/cat.allocation.json | 4 +- .../json/generated/cat.cluster_manager.json | 4 +- .../json/generated/cat.count.json | 4 +- .../json/generated/cat.fielddata.json | 4 +- .../json/generated/cat.health.json | 4 +- .../json/generated/cat.help.json | 4 +- .../json/generated/cat.indices.json | 4 +- .../json/generated/cat.master.json | 4 +- .../json/generated/cat.nodeattrs.json | 4 +- .../json/generated/cat.nodes.json | 4 +- .../json/generated/cat.pending_tasks.json | 4 +- .../json/generated/cat.plugins.json | 4 +- .../json/generated/cat.recovery.json | 4 +- .../json/generated/cat.repositories.json | 4 +- .../json/generated/cat.segments.json | 4 +- .../json/generated/cat.shards.json | 4 +- .../json/generated/cat.snapshots.json | 4 +- .../json/generated/cat.tasks.json | 4 +- .../json/generated/cat.templates.json | 4 +- .../json/generated/cat.thread_pool.json | 4 +- .../json/generated/clear_scroll.json | 4 +- .../generated/cluster.allocation_explain.json | 4 +- .../cluster.delete_component_template.json | 4 +- ...uster.delete_voting_config_exclusions.json | 14 ++++ .../cluster.exists_component_template.json | 14 ++++ .../cluster.get_component_template.json | 16 +++++ .../json/generated/cluster.get_settings.json | 4 +- .../json/generated/cluster.health.json | 4 +- .../json/generated/cluster.pending_tasks.json | 4 +- ...cluster.post_voting_config_exclusions.json | 16 +++++ .../cluster.put_component_template.json | 17 +++++ .../json/generated/cluster.put_settings.json | 4 +- .../json/generated/cluster.remote_info.json | 4 +- .../json/generated/cluster.reroute.json | 4 +- .../json/generated/cluster.state.json | 4 +- .../json/generated/cluster.stats.json | 4 +- .../json/generated/count.json | 4 +- .../json/generated/create.json | 4 +- ...angling_indices.delete_dangling_index.json | 16 +++++ ...angling_indices.import_dangling_index.json | 16 +++++ ...angling_indices.list_dangling_indices.json | 11 ++++ .../json/generated/delete.json | 4 +- .../json/generated/delete_by_query.json | 4 +- .../generated/delete_by_query_rethrottle.json | 4 +- .../json/generated/delete_script.json | 4 +- .../json/generated/exists.json | 4 +- .../json/generated/exists_source.json | 4 +- .../json/generated/explain.json | 4 +- .../json/generated/field_caps.json | 4 +- .../spec_definitions/json/generated/get.json | 4 +- .../json/generated/get_script.json | 4 +- .../json/generated/get_script_context.json | 5 +- .../json/generated/get_script_languages.json | 5 +- .../json/generated/get_source.json | 4 +- .../json/generated/index.json | 4 +- .../json/generated/indices.add_block.json | 24 +++++++ .../json/generated/indices.analyze.json | 4 +- .../json/generated/indices.clear_cache.json | 4 +- .../json/generated/indices.clone.json | 4 +- .../json/generated/indices.close.json | 4 +- .../json/generated/indices.create.json | 4 +- .../generated/indices.create_data_stream.json | 11 ++++ .../generated/indices.data_streams_stats.json | 12 ++++ .../json/generated/indices.delete.json | 4 +- .../json/generated/indices.delete_alias.json | 4 +- .../generated/indices.delete_data_stream.json | 11 ++++ .../indices.delete_index_template.json | 15 +++++ .../generated/indices.delete_template.json | 4 +- .../json/generated/indices.exists.json | 4 +- .../json/generated/indices.exists_alias.json | 4 +- .../indices.exists_index_template.json | 15 +++++ .../generated/indices.exists_template.json | 4 +- .../json/generated/indices.exists_type.json | 4 +- .../json/generated/indices.flush.json | 4 +- .../json/generated/indices.flush_synced.json | 4 +- .../json/generated/indices.forcemerge.json | 4 +- .../json/generated/indices.get.json | 4 +- .../json/generated/indices.get_alias.json | 4 +- .../generated/indices.get_data_stream.json | 12 ++++ .../generated/indices.get_field_mapping.json | 4 +- .../generated/indices.get_index_template.json | 17 +++++ .../json/generated/indices.get_mapping.json | 4 +- .../json/generated/indices.get_settings.json | 4 +- .../json/generated/indices.get_template.json | 4 +- .../json/generated/indices.get_upgrade.json | 4 +- .../json/generated/indices.open.json | 4 +- .../json/generated/indices.put_alias.json | 4 +- .../generated/indices.put_index_template.json | 17 +++++ .../json/generated/indices.put_mapping.json | 4 +- .../json/generated/indices.put_settings.json | 4 +- .../json/generated/indices.put_template.json | 4 +- .../json/generated/indices.recovery.json | 4 +- .../json/generated/indices.refresh.json | 4 +- .../json/generated/indices.resolve_index.json | 20 ++++++ .../json/generated/indices.rollover.json | 4 +- .../json/generated/indices.segments.json | 4 +- .../json/generated/indices.shard_stores.json | 4 +- .../json/generated/indices.shrink.json | 4 +- .../indices.simulate_index_template.json | 16 +++++ .../generated/indices.simulate_template.json | 17 +++++ .../json/generated/indices.split.json | 4 +- .../json/generated/indices.stats.json | 4 +- .../generated/indices.update_aliases.json | 4 +- .../json/generated/indices.upgrade.json | 4 +- .../generated/indices.validate_query.json | 4 +- .../spec_definitions/json/generated/info.json | 4 +- .../generated/ingest.delete_pipeline.json | 4 +- .../json/generated/ingest.get_pipeline.json | 4 +- .../json/generated/ingest.processor_grok.json | 4 +- .../json/generated/ingest.put_pipeline.json | 4 +- .../json/generated/ingest.simulate.json | 4 +- .../spec_definitions/json/generated/mget.json | 4 +- .../json/generated/msearch.json | 4 +- .../json/generated/msearch_template.json | 4 +- .../json/generated/mtermvectors.json | 4 +- .../json/generated/nodes.hot_threads.json | 4 +- .../json/generated/nodes.info.json | 4 +- .../nodes.reload_secure_settings.json | 4 +- .../json/generated/nodes.stats.json | 4 +- .../json/generated/nodes.usage.json | 4 +- .../spec_definitions/json/generated/ping.json | 4 +- .../json/generated/put_script.json | 4 +- .../json/generated/rank_eval.json | 4 +- .../json/generated/reindex.json | 4 +- .../json/generated/reindex_rethrottle.json | 4 +- .../json/generated/remote_store.restore.json | 15 +++++ .../generated/render_search_template.json | 4 +- .../generated/scripts_painless_execute.json | 4 +- .../json/generated/scroll.json | 4 +- .../json/generated/search.json | 4 +- .../json/generated/search_shards.json | 4 +- .../json/generated/search_template.json | 4 +- .../snapshot.cleanup_repository.json | 4 +- .../json/generated/snapshot.clone.json | 14 ++++ .../json/generated/snapshot.create.json | 4 +- .../generated/snapshot.create_repository.json | 4 +- .../json/generated/snapshot.delete.json | 4 +- .../generated/snapshot.delete_repository.json | 4 +- .../json/generated/snapshot.get.json | 4 +- .../generated/snapshot.get_repository.json | 4 +- .../json/generated/snapshot.restore.json | 4 +- .../json/generated/snapshot.status.json | 4 +- .../generated/snapshot.verify_repository.json | 4 +- .../json/generated/tasks.cancel.json | 4 +- .../json/generated/tasks.get.json | 4 +- .../json/generated/tasks.list.json | 4 +- .../json/generated/termvectors.json | 4 +- .../json/generated/update.json | 4 +- .../json/generated/update_by_query.json | 4 +- .../generated/update_by_query_rethrottle.json | 4 +- 153 files changed, 631 insertions(+), 293 deletions(-) create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/remote_store.restore.json create mode 100644 src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json diff --git a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts index 17bd930bbd6b..f85f3665b4ba 100644 --- a/src/plugins/console/server/lib/spec_definitions/js/ingest.ts +++ b/src/plugins/console/server/lib/spec_definitions/js/ingest.ts @@ -39,7 +39,7 @@ const commonPipelineParams = { tag: '', }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/append-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const appendProcessorDefinition = { append: { __template: { @@ -52,7 +52,7 @@ const appendProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/bytes-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const bytesProcessorDefinition = { bytes: { __template: { @@ -67,7 +67,7 @@ const bytesProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-circle-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const circleProcessorDefinition = { circle: { __template: { @@ -88,7 +88,7 @@ const circleProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/csv-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/csv/ const csvProcessorDefinition = { csv: { __template: { @@ -110,7 +110,7 @@ const csvProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/convert-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const convertProcessorDefinition = { convert: { __template: { @@ -129,7 +129,7 @@ const convertProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/date/ const dateProcessorDefinition = { date: { __template: { @@ -145,7 +145,7 @@ const dateProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/date-index-name-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const dateIndexNameProcessorDefinition = { date_index_name: { __template: { @@ -164,7 +164,7 @@ const dateIndexNameProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dissect-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const dissectProcessorDefinition = { dissect: { __template: { @@ -181,7 +181,7 @@ const dissectProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/dot-expand-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const dotExpanderProcessorDefinition = { dot_expander: { __template: { @@ -193,7 +193,7 @@ const dotExpanderProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/drop-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const dropProcessorDefinition = { drop: { __template: {}, @@ -201,7 +201,7 @@ const dropProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/fail-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const failProcessorDefinition = { fail: { __template: { @@ -212,7 +212,7 @@ const failProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/foreach-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const foreachProcessorDefinition = { foreach: { __template: { @@ -227,7 +227,7 @@ const foreachProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/geoip-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const geoipProcessorDefinition = { geoip: { __template: { @@ -246,7 +246,7 @@ const geoipProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/grok-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/grok/ const grokProcessorDefinition = { grok: { __template: { @@ -266,7 +266,7 @@ const grokProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/gsub-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const gsubProcessorDefinition = { gsub: { __template: { @@ -281,7 +281,7 @@ const gsubProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/htmlstrip-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const htmlStripProcessorDefinition = { html_strip: { __template: { @@ -296,7 +296,7 @@ const htmlStripProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/inference-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const inferenceProcessorDefinition = { inference: { __template: { @@ -312,7 +312,7 @@ const inferenceProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/join-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const joinProcessorDefinition = { join: { __template: { @@ -325,7 +325,7 @@ const joinProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/json-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/parse-json/ const jsonProcessorDefinition = { json: { __template: { @@ -340,7 +340,7 @@ const jsonProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/kv-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const kvProcessorDefinition = { kv: { __template: { @@ -360,7 +360,7 @@ const kvProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/lowercase-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/lowercase-string/ const lowercaseProcessorDefinition = { lowercase: { __template: { @@ -374,7 +374,7 @@ const lowercaseProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/pipeline-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const pipelineProcessorDefinition = { pipeline: { __template: { @@ -385,7 +385,7 @@ const pipelineProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/remove-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const removeProcessorDefinition = { remove: { __template: { @@ -396,7 +396,7 @@ const removeProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/rename-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const renameProcessorDefinition = { rename: { __template: { @@ -412,7 +412,7 @@ const renameProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/script-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const scriptProcessorDefinition = { script: { __template: {}, @@ -425,7 +425,7 @@ const scriptProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/set-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const setProcessorDefinition = { set: { __template: { @@ -441,7 +441,7 @@ const setProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/ingest-node-set-security-user-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const setSecurityUserProcessorDefinition = { set_security_user: { __template: { @@ -453,7 +453,7 @@ const setSecurityUserProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/split-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/split-string/ const splitProcessorDefinition = { split: { __template: { @@ -469,7 +469,7 @@ const splitProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/sort-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const sortProcessorDefinition = { sort: { __template: { @@ -481,7 +481,7 @@ const sortProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/trim-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/trim-string/ const trimProcessorDefinition = { trim: { __template: { @@ -495,7 +495,7 @@ const trimProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/uppercase-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/uppercase-string/ const uppercaseProcessorDefinition = { uppercase: { __template: { @@ -509,7 +509,7 @@ const uppercaseProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/urldecode-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const urlDecodeProcessorDefinition = { urldecode: { __template: { @@ -524,7 +524,7 @@ const urlDecodeProcessorDefinition = { }, }; -// Based on https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/user-agent-processor.html +// Based on https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/processors/ const userAgentProcessorDefinition = { user_agent: { __template: { diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json index 5529771a8f06..518478b1ba1d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/bulk.json @@ -24,6 +24,6 @@ "{indices}/_bulk", "{indices}/{type}/_bulk" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/bulk/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/bulk/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json index c0664ebc9d97..c9f5d20fea61 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.aliases.json @@ -22,6 +22,6 @@ "_cat/aliases", "_cat/aliases/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-aliases/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-aliases/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json index ce6062953693..71394af9a55a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.allocation.json @@ -30,6 +30,6 @@ "_cat/allocation", "_cat/allocation/{nodes}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-allocation/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-allocation/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.cluster_manager.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.cluster_manager.json index 16d91c9a1d4b..1427c8585dcc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.cluster_manager.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.cluster_manager.json @@ -16,6 +16,6 @@ "patterns": [ "_cat/cluster_manager" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-cluster_manager/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json index 8093d91da07e..81fa7b42319b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.count.json @@ -14,6 +14,6 @@ "_cat/count", "_cat/count/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-count/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-count/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json index c5e28cd072cd..fc9629ab3b8d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.fielddata.json @@ -28,6 +28,6 @@ "_cat/fielddata", "_cat/fielddata/{fields}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-field-data/#cat-fielddata" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-field-data/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json index 3d78a1254175..29cc9d26fced 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.health.json @@ -23,6 +23,6 @@ "patterns": [ "_cat/health" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-health/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-health/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json index 302f56df8dcd..d2e3854c4d0a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.help.json @@ -10,6 +10,6 @@ "patterns": [ "_cat" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/index/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/index" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json index 90b524835911..1ea939d82dc6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.indices.json @@ -53,6 +53,6 @@ "_cat/indices", "_cat/indices/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-indices/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-indices/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json index fff5c9c30726..a78208cda076 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.master.json @@ -15,6 +15,6 @@ "patterns": [ "_cat/master" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-master/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-cluster_manager/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json index f32564e2a3f9..6d12fb8d7871 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodeattrs.json @@ -16,6 +16,6 @@ "patterns": [ "_cat/nodeattrs" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodeattrs/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-nodeattrs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json index 3b9b17a35da7..87f8647fe631 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.nodes.json @@ -39,6 +39,6 @@ "patterns": [ "_cat/nodes" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-nodes/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-nodes/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json index bda19fc9c9d6..418655a1f2b6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.pending_tasks.json @@ -25,6 +25,6 @@ "patterns": [ "_cat/pending_tasks" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-pending-tasks/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-pending-tasks/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json index 3eee2d4f4eb7..fdb48afb0ad2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.plugins.json @@ -16,6 +16,6 @@ "patterns": [ "_cat/plugins" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-plugins/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-plugins/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json index 4c3d8a6cd204..ff2e2e9db2f2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.recovery.json @@ -39,6 +39,6 @@ "_cat/recovery", "_cat/recovery/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-recovery/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-recovery/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json index 160b5b3b931d..034e07a09fbc 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.repositories.json @@ -16,6 +16,6 @@ "patterns": [ "_cat/repositories" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-repositories/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-repositories/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json index 2f74834f9c81..f0847371f5d1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.segments.json @@ -27,6 +27,6 @@ "_cat/segments", "_cat/segments/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-segments/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-segments/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json index bde4b18dc795..d16da3f2058a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.shards.json @@ -39,6 +39,6 @@ "_cat/shards", "_cat/shards/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-shards/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-shards/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json index 32301e4d5b01..1a2b4d212673 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.snapshots.json @@ -26,6 +26,6 @@ "_cat/snapshots", "_cat/snapshots/{repository}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-snapshots/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-snapshots/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json index c3575fac3aa1..9c9b689bad1a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.tasks.json @@ -26,6 +26,6 @@ "patterns": [ "_cat/tasks" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-tasks/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-tasks/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json index d1cde662d617..e91447b9b050 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.templates.json @@ -17,6 +17,6 @@ "_cat/templates", "_cat/templates/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-templates/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-templates/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json index 1f654a68dec4..16606f815274 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cat.thread_pool.json @@ -25,6 +25,6 @@ "_cat/thread_pool", "_cat/thread_pool/{thread_pool_patterns}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cat/cat-thread-pool/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cat/cat-thread-pool/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json index b971f58ac86c..7304536dda46 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/clear_scroll.json @@ -6,6 +6,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/scroll/" + "documentation": "https://opensearch.org/docs/latest/api-reference/scroll/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json index ff3e8ed7565f..13195e82437b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.allocation_explain.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/allocation/explain" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-allocation/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-allocation/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json index 896c35e03ad4..df93a73706d9 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_component_template.json @@ -11,6 +11,6 @@ "patterns": [ "_component_template/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/#composable-index-templates" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json new file mode 100644 index 000000000000..af3373e66126 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.delete_voting_config_exclusions.json @@ -0,0 +1,14 @@ +{ + "cluster.delete_voting_config_exclusions": { + "url_params": { + "wait_for_removal": "__flag__" + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_cluster/voting_config_exclusions" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json new file mode 100644 index 000000000000..b1d4b83a9092 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.exists_component_template.json @@ -0,0 +1,14 @@ +{ + "cluster.exists_component_template": { + "url_params": { + "local": "__flag__" + }, + "methods": [ + "HEAD" + ], + "patterns": [ + "_component_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#retrieve-a-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json new file mode 100644 index 000000000000..4f93d85cd2d8 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_component_template.json @@ -0,0 +1,16 @@ +{ + "cluster.get_component_template": { + "url_params": { + "cluster_manager_timeout": "", + "local": "__flag__" + }, + "methods": [ + "GET" + ], + "patterns": [ + "_component_template", + "_component_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#retrieve-a-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json index a3e1aef327d3..a921a191efc6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.get_settings.json @@ -13,6 +13,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json index 3bf13ecc3b48..1098d5818bfb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.health.json @@ -42,6 +42,6 @@ "_cluster/health", "_cluster/health/{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-health/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-health/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json index a455ac5c433d..87ff44620b81 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.pending_tasks.json @@ -11,6 +11,6 @@ "patterns": [ "_cluster/pending_tasks" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-pending.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json new file mode 100644 index 000000000000..cfef817cc4b3 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.post_voting_config_exclusions.json @@ -0,0 +1,16 @@ +{ + "cluster.post_voting_config_exclusions": { + "url_params": { + "node_ids": "", + "node_names": "", + "timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_cluster/voting_config_exclusions" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json new file mode 100644 index 000000000000..11733a59c17e --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_component_template.json @@ -0,0 +1,17 @@ +{ + "cluster.put_component_template": { + "url_params": { + "create": "__flag__", + "timeout": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_component_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#create-a-component-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json index 24e9b7ba0b79..a6a494c1f3d4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.put_settings.json @@ -12,6 +12,6 @@ "patterns": [ "_cluster/settings" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/cluster-settings/" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-settings/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json index 7d7919384b61..8197b890ff49 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.remote_info.json @@ -6,6 +6,6 @@ "patterns": [ "_remote/info" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/remote-info/" + "documentation": "https://opensearch.org/docs/latest/api-reference/remote-info/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json index 93234442c052..6d339ee478e8 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.reroute.json @@ -15,6 +15,6 @@ "patterns": [ "_cluster/reroute" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-reroute.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json index 681b442bc460..a8eb3d80e172 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.state.json @@ -39,6 +39,6 @@ ], "indices": null }, - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-state.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json index 5cebcb2db2b8..0b7ddaa6f705 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/cluster.stats.json @@ -11,6 +11,6 @@ "_cluster/stats", "_cluster/stats/nodes/{nodes}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-stats.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/cluster-api/cluster-stats/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json index 3989ba8e7b0d..aec1a6dd4c5e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/count.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/count.json @@ -34,6 +34,6 @@ "{indices}/_count", "{indices}/{type}/_count" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/count/" + "documentation": "https://opensearch.org/docs/latest/api-reference/count/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json index b329f555e857..a765a54dabee 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/create.json @@ -24,6 +24,6 @@ "patterns": [ "{indices}/_create/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/index-document/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/index-document/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json new file mode 100644 index 000000000000..42b748487d1f --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.delete_dangling_index.json @@ -0,0 +1,16 @@ +{ + "dangling_indices.delete_dangling_index": { + "url_params": { + "accept_data_loss": "__flag__", + "timeout": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_dangling/{index_uuid}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json new file mode 100644 index 000000000000..96645fa3d7ef --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.import_dangling_index.json @@ -0,0 +1,16 @@ +{ + "dangling_indices.import_dangling_index": { + "url_params": { + "accept_data_loss": "__flag__", + "timeout": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_dangling/{index_uuid}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json new file mode 100644 index 000000000000..89909d9cd2c0 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/dangling_indices.list_dangling_indices.json @@ -0,0 +1,11 @@ +{ + "dangling_indices.list_dangling_indices": { + "methods": [ + "GET" + ], + "patterns": [ + "_dangling" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/dangling-index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json index 5d0ae7f48922..e5ee6d90f7c5 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete.json @@ -25,6 +25,6 @@ "patterns": [ "{indices}/_doc/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-document/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/delete-document/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json index 824d226644c6..56ddb81ded61 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query.json @@ -57,6 +57,6 @@ "{indices}/_delete_by_query", "{indices}/{type}/_delete_by_query" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-by-query/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/delete-by-query/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json index 5df1436c1e13..04e9a883ea4e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_delete_by_query/{task_id}/_rethrottle" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/delete-by-query/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/delete-by-query/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json index 30d3f5fe2fb5..5b7705051fd3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/delete_script.json @@ -11,6 +11,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/delete-script/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json index ae2c8ca1e935..f4508ad26eeb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json index da0e2e01c2e9..81d2ed3eaeb7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/exists_source.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}/_source/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json index 400f0dc767a1..e4bf0d00f66a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/explain.json @@ -25,6 +25,6 @@ "{indices}/_explain/{id}", "{indices}/{type}/{id}/_explain" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/explain/" + "documentation": "https://opensearch.org/docs/latest/api-reference/explain/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json index 1bfedef2f0e1..c84e33a154dd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/field_caps.json @@ -21,6 +21,6 @@ "_field_caps", "{indices}/_field_caps" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-field-caps.html" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json index 64599b6604be..491cf007c3ba 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get.json @@ -24,6 +24,6 @@ "{indices}/_doc/{id}", "{indices}/{type}/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json index 3abbb0c412f7..6a06d09a5e64 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script.json @@ -10,6 +10,6 @@ "patterns": [ "_scripts/{id}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/get-stored-script/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json index 528c261df770..6368374352c3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_context.json @@ -5,6 +5,7 @@ ], "patterns": [ "_script_context" - ] + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/get-script-contexts/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json index 10ea433ca68c..da4c3bf39864 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_script_languages.json @@ -5,6 +5,7 @@ ], "patterns": [ "_script_language" - ] + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/get-script-language/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json index 8396fc2412a1..86335bc6535a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/get_source.json @@ -23,6 +23,6 @@ "{indices}/_source/{id}", "{indices}/{type}/{id}/_source" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/get-documents/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/get-documents/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json index f70f6c9c8022..8a63df488aad 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/index.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/index.json @@ -33,6 +33,6 @@ "{indices}/{type}", "{indices}/{type}/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/index-document/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/index-document/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json new file mode 100644 index 000000000000..2ef0353e710b --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.add_block.json @@ -0,0 +1,24 @@ +{ + "indices.add_block": { + "url_params": { + "timeout": "", + "cluster_manager_timeout": "", + "ignore_unavailable": "__flag__", + "allow_no_indices": "__flag__", + "expand_wildcards": [ + "open", + "closed", + "hidden", + "none", + "all" + ] + }, + "methods": [ + "PUT" + ], + "patterns": [ + "{indices}/_block/{block}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json index 9d4fd6327e34..343ce106a8cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.analyze.json @@ -11,6 +11,6 @@ "_analyze", "{indices}/_analyze" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-analyze.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/analyze-apis/perform-text-analysis/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json index 54eac4489f1b..51b5e7b54d94 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clear_cache.json @@ -23,6 +23,6 @@ "_cache/clear", "{indices}/_cache/clear" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clearcache.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/clear-index-cache/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json index 3d7f20b37ffa..b37aa9712e94 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.clone.json @@ -13,6 +13,6 @@ "patterns": [ "{indices}/_clone/{target}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-clone-index.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/clone/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json index 03ff1d0d8263..d4b0297760e6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.close.json @@ -21,6 +21,6 @@ "patterns": [ "{indices}/_close" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/close-index/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/close-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json index 798f3f1362f0..6c9efd4942d6 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create.json @@ -12,6 +12,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/create-index/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/create-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json new file mode 100644 index 000000000000..d8f22531e35e --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.create_data_stream.json @@ -0,0 +1,11 @@ +{ + "indices.create_data_stream": { + "methods": [ + "PUT" + ], + "patterns": [ + "_data_stream/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/data-streams/#step-2-create-a-data-stream" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json new file mode 100644 index 000000000000..e57b340f0d5c --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.data_streams_stats.json @@ -0,0 +1,12 @@ +{ + "indices.data_streams_stats": { + "methods": [ + "GET" + ], + "patterns": [ + "_data_stream/_stats", + "_data_stream/{name}/_stats" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/data-streams/#example-response" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json index f8e02097101f..ae07f00ff5a7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete.json @@ -19,6 +19,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/delete-index/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/delete-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json index c3ef2677c614..24bf097d1371 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_alias.json @@ -12,6 +12,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-alias/#delete-aliases" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json new file mode 100644 index 000000000000..2673dd46f158 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_data_stream.json @@ -0,0 +1,11 @@ +{ + "indices.delete_data_stream": { + "methods": [ + "DELETE" + ], + "patterns": [ + "_data_stream/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/data-streams/#step-7-delete-a-data-stream" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json new file mode 100644 index 000000000000..cbe38b1b1be8 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_index_template.json @@ -0,0 +1,15 @@ +{ + "indices.delete_index_template": { + "url_params": { + "timeout": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "DELETE" + ], + "patterns": [ + "_index_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json index 93901cd31f6b..85e682ce5f3b 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.delete_template.json @@ -11,6 +11,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json index 2d1c3e4e9ae1..1eb816805023 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/exists/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json index 044035141b21..83ef47b42372 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_alias.json @@ -19,6 +19,6 @@ "_alias/{name}", "{indices}/_alias/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#delete-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json new file mode 100644 index 000000000000..9ebeeb6ebd2d --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_index_template.json @@ -0,0 +1,15 @@ +{ + "indices.exists_index_template": { + "url_params": { + "flat_settings": "__flag__", + "local": "__flag__" + }, + "methods": [ + "HEAD" + ], + "patterns": [ + "_index_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/exists/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json index fa1e7bdfe869..90af8a24eb2e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_template.json @@ -11,6 +11,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#retrieve-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json index 80d538d2a561..33b9cb12b988 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.exists_type.json @@ -18,6 +18,6 @@ "patterns": [ "{indices}/_mapping/{type}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/exists/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/exists/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json index 78ff28b59f80..69e5c610c6ea 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush.json @@ -21,6 +21,6 @@ "_flush", "{indices}/_flush" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-flush.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json index f4f44c57643e..e2ba59641520 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.flush_synced.json @@ -18,6 +18,6 @@ "_flush/synced", "{indices}/_flush/synced" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json index e1fe5dfe4d02..78c46e9ceb28 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.forcemerge.json @@ -21,6 +21,6 @@ "_forcemerge", "{indices}/_forcemerge" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-forcemerge.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json index 98c6070d6c7a..0cd4602dbf03 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/index-apis/get-index/" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/get-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json index 94c5642a871b..2a2c18d73532 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_alias.json @@ -21,6 +21,6 @@ "{indices}/_alias/{name}", "{indices}/_alias" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-alias/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json new file mode 100644 index 000000000000..a5c656bade6a --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_data_stream.json @@ -0,0 +1,12 @@ +{ + "indices.get_data_stream": { + "methods": [ + "GET" + ], + "patterns": [ + "_data_stream", + "_data_stream/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/data-streams/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json index d4fcde075033..1dd8de6560ab 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_field_mapping.json @@ -23,6 +23,6 @@ "_mapping/{type}/field/{fields}", "{indices}/_mapping/{type}/field/{fields}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" + "documentation": "https://opensearch.org/docs/latest/field-types/mappings/#get-a-mapping" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json new file mode 100644 index 000000000000..b96b373c7758 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_index_template.json @@ -0,0 +1,17 @@ +{ + "indices.get_index_template": { + "url_params": { + "flat_settings": "__flag__", + "cluster_manager_timeout": "", + "local": "__flag__" + }, + "methods": [ + "GET" + ], + "patterns": [ + "_index_template", + "_index_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#retrieve-a-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json index ee970860b1cf..70c4724b45d0 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_mapping.json @@ -21,6 +21,6 @@ "_mapping", "{indices}/_mapping" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-mapping.html" + "documentation": "https://opensearch.org/docs/latest/field-types/mappings/#get-a-mapping" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json index ac8234f2661d..c1e3dea1f777 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_settings.json @@ -25,6 +25,6 @@ "{indices}/_settings/{name}", "_settings/{name}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-get-settings.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/get-settings/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json index 3bff9706e783..7f967bee4f68 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_template.json @@ -13,6 +13,6 @@ "_template", "_template/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#retrieve-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json index b3076a5dd74b..e55dd8c07888 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.get_upgrade.json @@ -18,6 +18,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json index 75e64a773a5f..e72c664adb7a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.open.json @@ -20,6 +20,6 @@ "patterns": [ "{indices}/_open" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-open-close.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/open-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json index 7de417e142cf..4ab31f1c81d1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_alias.json @@ -13,6 +13,6 @@ "{indices}/_alias/{name}", "{indices}/_aliases/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-alias/#create-aliases" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json new file mode 100644 index 000000000000..2b8809525e26 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_index_template.json @@ -0,0 +1,17 @@ +{ + "indices.put_index_template": { + "url_params": { + "create": "__flag__", + "cause": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "PUT", + "POST" + ], + "patterns": [ + "_index_template/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#create-a-template" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json index 00c4de481a95..5fbcb6728b2f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_mapping.json @@ -22,6 +22,6 @@ "patterns": [ "{indices}/_mapping" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-put-mapping.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/put-mapping/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json index 354829fe4217..b814a0b3859f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_settings.json @@ -23,6 +23,6 @@ "_settings", "{indices}/_settings" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-update-settings.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/update-settings/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json index 26eabc61b8b3..0c1b5ab245cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.put_template.json @@ -13,6 +13,6 @@ "patterns": [ "_template/{name}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-templates/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-templates/#create-a-template" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json index 78a30669242c..9b4658682ab7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.recovery.json @@ -11,6 +11,6 @@ "_recovery", "{indices}/_recovery" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-recovery.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json index 5bcc00c0d817..54ff14dcb3df 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.refresh.json @@ -19,6 +19,6 @@ "_refresh", "{indices}/_refresh" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-refresh.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json new file mode 100644 index 000000000000..d3b42a7ed6fb --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.resolve_index.json @@ -0,0 +1,20 @@ +{ + "indices.resolve_index": { + "url_params": { + "expand_wildcards": [ + "open", + "closed", + "hidden", + "none", + "all" + ] + }, + "methods": [ + "GET" + ], + "patterns": [ + "_resolve/index/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json index 65f03d45c2e0..c3c87dc0f43a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.rollover.json @@ -14,6 +14,6 @@ "{alias}/_rollover", "{alias}/_rollover/{new_index}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-rollover-index.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json index 1f580af0d69c..9eca10bf8afd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.segments.json @@ -19,6 +19,6 @@ "_segments", "{indices}/_segments" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-segments.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json index 089b1209c451..e56e0e5fde38 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shard_stores.json @@ -19,6 +19,6 @@ "_shard_stores", "{indices}/_shard_stores" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shards-stores.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json index 149146f1777f..d053a746d946 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.shrink.json @@ -14,6 +14,6 @@ "patterns": [ "{indices}/_shrink/{target}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-shrink-index.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/shrink-index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json new file mode 100644 index 000000000000..3aa3500e2b15 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_index_template.json @@ -0,0 +1,16 @@ +{ + "indices.simulate_index_template": { + "url_params": { + "create": "__flag__", + "cause": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_index_template/_simulate_index/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json new file mode 100644 index 000000000000..17e605e5ecca --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.simulate_template.json @@ -0,0 +1,17 @@ +{ + "indices.simulate_template": { + "url_params": { + "create": "__flag__", + "cause": "", + "cluster_manager_timeout": "" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_index_template/_simulate", + "_index_template/_simulate/{name}" + ], + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json index 043ab87977b5..100032831da3 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.split.json @@ -14,6 +14,6 @@ "patterns": [ "{indices}/_split/{target}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-split-index.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/split/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json index c99e47998b6d..b2832d62a755 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.stats.json @@ -52,6 +52,6 @@ ], "indices": null }, - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-stats.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json index 958b4cb31d42..7e6fff64d2a2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.update_aliases.json @@ -11,6 +11,6 @@ "patterns": [ "_aliases" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index-alias/" + "documentation": "https://opensearch.org/docs/latest/im-plugin/index-alias/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json index a639b369c25f..6a294a16b429 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.upgrade.json @@ -20,6 +20,6 @@ "_upgrade", "{indices}/_upgrade" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/indices-upgrade.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json index 2802678b0c16..77eef33f0cb7 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/indices.validate_query.json @@ -31,6 +31,6 @@ "_validate/query", "{indices}/_validate/query" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-validate.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/index-apis/index/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json index 145165271f9d..fbf8e43779d4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/info.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index/" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json index 1f23de8e3562..ae2071e8be35 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.delete_pipeline.json @@ -11,6 +11,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/delete-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/ingest-apis/delete-ingest/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json index e22f9fdcbf19..601a66a83ab2 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.get_pipeline.json @@ -11,6 +11,6 @@ "_ingest/pipeline", "_ingest/pipeline/{id}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/get-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/ingest-apis/get-ingest/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json index 44e36c4ac3fa..bafc975fb738 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.processor_grok.json @@ -6,6 +6,6 @@ "patterns": [ "_ingest/processor/grok" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/grok-processor.html#grok-processor-rest-get" + "documentation": "https://opensearch.org/docs/latest/data-prepper/pipelines/configuration/processors/grok/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json index b713907c8d31..67e805ff5a7d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.put_pipeline.json @@ -11,6 +11,6 @@ "patterns": [ "_ingest/pipeline/{id}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/put-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/ingest-apis/create-update-ingest/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json index fc94871268ec..232518271392 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ingest.simulate.json @@ -11,6 +11,6 @@ "_ingest/pipeline/_simulate", "_ingest/pipeline/{id}/_simulate" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/simulate-pipeline-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/ingest-apis/simulate-ingest/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json index 183a0c3a43a4..d10d564bc859 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mget.json @@ -19,6 +19,6 @@ "{indices}/_mget", "{indices}/{type}/_mget" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/multi-get/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/multi-get/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json index ee211859a788..04a77f60f1cf 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch.json @@ -23,6 +23,6 @@ "{indices}/_msearch", "{indices}/{type}/_msearch" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/query-dsl/full-text/#multi-match" + "documentation": "https://opensearch.org/docs/latest/api-reference/multi-search/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json index 4c6bfd73be73..10744429866c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/msearch_template.json @@ -21,6 +21,6 @@ "{indices}/_msearch/template", "{indices}/{type}/_msearch/template" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/query-dsl/full-text/#multi-match" + "documentation": "https://opensearch.org/docs/latest/search-plugins/search-template/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json index ce0c0024e383..b76c1c1b5f84 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/mtermvectors.json @@ -28,6 +28,6 @@ "{indices}/_mtermvectors", "{indices}/{type}/_mtermvectors" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-multi-termvectors.html" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json index 0d6ab832c5cb..ae32e7d8ee68 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.hot_threads.json @@ -19,6 +19,6 @@ "_nodes/hot_threads", "_nodes/{nodes}/hot_threads" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-hot-threads.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-hot-threads/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json index d0f5f465721d..1bd2cbdaa492 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.info.json @@ -27,6 +27,6 @@ "transport" ] }, - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-info.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-info/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json index d6e64f127bfb..27907fab39ba 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.reload_secure_settings.json @@ -10,6 +10,6 @@ "_nodes/reload_secure_settings", "_nodes/{nodes}/reload_secure_settings" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/secure-settings.html#reloadable-secure-settings" + "documentation": "https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-reload-secure/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json index f8d7065e954c..d6f54dbb179f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.stats.json @@ -59,6 +59,6 @@ "warmer" ] }, - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-stats.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-stats/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json index 25f41da6cf53..2c90c5a23763 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/nodes.usage.json @@ -19,6 +19,6 @@ "rest_actions" ] }, - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/cluster-nodes-usage.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/nodes-apis/nodes-usage/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json index 3552fe49fb2b..b89aa7361be4 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/ping.json @@ -6,6 +6,6 @@ "patterns": [ "" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/index/" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json index 22c30d646ebb..399bc512f770 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/put_script.json @@ -14,6 +14,6 @@ "_scripts/{id}", "_scripts/{id}/{context}" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/modules-scripting.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/create-stored-script/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json index 05457fc55bf5..21762262a440 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/rank_eval.json @@ -23,6 +23,6 @@ "_rank_eval", "{indices}/_rank_eval" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-rank-eval.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/rank-eval/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json index b43f61e631df..e0efba0a91cb 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex.json @@ -16,6 +16,6 @@ "patterns": [ "_reindex" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/reindex/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/reindex/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json index e98ec15db1d4..ad0ca4e5726f 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/reindex_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_reindex/{task_id}/_rethrottle" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/reindex/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/reindex/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/remote_store.restore.json b/src/plugins/console/server/lib/spec_definitions/json/generated/remote_store.restore.json new file mode 100644 index 000000000000..b06752051d6c --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/remote_store.restore.json @@ -0,0 +1,15 @@ +{ + "remote_store.restore": { + "url_params": { + "cluster_manager_timeout": "", + "wait_for_completion": "__flag__" + }, + "methods": [ + "POST" + ], + "patterns": [ + "_remotestore/_restore" + ], + "documentation": "https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/remote/#restoring-from-a-backup" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json index 67e32cbaf417..05d9301316ef 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/render_search_template.json @@ -8,6 +8,6 @@ "_render/template", "_render/template/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/search-template/" + "documentation": "https://opensearch.org/docs/latest/search-plugins/search-template/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json index 041ea1dafc0b..e8ceef567e60 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scripts_painless_execute.json @@ -7,6 +7,6 @@ "patterns": [ "_scripts/painless/_execute" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/painless/master/painless-execute-api.html" + "documentation": "https://opensearch.org/docs/latest/api-reference/script-apis/exec-script/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json index c3619651712c..efb1eaa9f106 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/scroll.json @@ -12,6 +12,6 @@ "patterns": [ "_search/scroll" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/ux/#scroll-search" + "documentation": "https://opensearch.org/docs/latest/api-reference/scroll/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json index df7373fff040..1f9cc14a74fe 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search.json @@ -69,6 +69,6 @@ "{indices}/_search", "{indices}/{type}/_search" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/ux/" + "documentation": "https://opensearch.org/docs/latest/api-reference/search/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json index 37a33f1332fa..e92b47849d7c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_shards.json @@ -22,6 +22,6 @@ "_search_shards", "{indices}/_search_shards" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/search-shards.html" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json index 5ecf508cd641..8bede360f25d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/search_template.json @@ -35,6 +35,6 @@ "{indices}/_search/template", "{indices}/{type}/_search/template" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/search-template/" + "documentation": "https://opensearch.org/docs/latest/search-plugins/search-template/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json index 372caf0acd62..8c047a8b5b76 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.cleanup_repository.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/_cleanup" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" + "documentation": "https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json new file mode 100644 index 000000000000..aa2ea46727d3 --- /dev/null +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.clone.json @@ -0,0 +1,14 @@ +{ + "snapshot.clone": { + "url_params": { + "cluster_manager_timeout": "" + }, + "methods": [ + "PUT" + ], + "patterns": [ + "_snapshot/{repository}/{snapshot}/_clone/{target_snapshot}" + ], + "documentation": "https://opensearch.org/docs/latest/tuning-your-cluster/availability-and-recovery/snapshots/snapshot-restore/" + } +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json index f8d761818d4c..4cf64b7eefc1 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create.json @@ -12,6 +12,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/create-snapshot/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json index 26cc40b4f03a..096f6e3ad7fd 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.create_repository.json @@ -13,6 +13,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#register-repository" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/create-repository/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json index 9dacf2d4899f..79cfacdf4609 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete.json @@ -10,6 +10,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/delete-snapshot/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json index 0dada65c0b98..67dd0e62053c 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.delete_repository.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/delete-snapshot-repository/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json index 1fb5560fa122..66b8d133701e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get.json @@ -12,6 +12,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json index 8b0f366331f2..8b1c2482ec3a 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.get_repository.json @@ -12,6 +12,6 @@ "_snapshot", "_snapshot/{repository}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#take-snapshots" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot-repository/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json index f4c9b5c3cff3..5649de2c0033 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.restore.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/{snapshot}/_restore" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/#restore-snapshots" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/restore-snapshot/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json index 956c1631db30..dd8f08374567 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.status.json @@ -13,6 +13,6 @@ "_snapshot/{repository}/_status", "_snapshot/{repository}/{snapshot}/_status" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/get-snapshot-status/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json index 6ad3c482628a..5c3b5151192e 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/snapshot.verify_repository.json @@ -11,6 +11,6 @@ "patterns": [ "_snapshot/{repository}/_verify" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/snapshot-restore/" + "documentation": "https://opensearch.org/docs/latest/api-reference/snapshots/verify-snapshot-repository/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json index 49f81071204a..85d8f659bd18 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.cancel.json @@ -12,6 +12,6 @@ "_tasks/_cancel", "_tasks/{task_id}/_cancel" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/#task-canceling" + "documentation": "https://opensearch.org/docs/latest/api-reference/tasks/#task-canceling" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json index 5367042057bf..559af1c783ac 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.get.json @@ -10,6 +10,6 @@ "patterns": [ "_tasks/{task_id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/" + "documentation": "https://opensearch.org/docs/latest/api-reference/tasks/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json index 841906716c2a..2f2f0a63db11 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/tasks.list.json @@ -19,6 +19,6 @@ "patterns": [ "_tasks" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/tasks/" + "documentation": "https://opensearch.org/docs/latest/api-reference/tasks/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json index 552716b75a30..ae8b05629150 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/termvectors.json @@ -28,6 +28,6 @@ "{indices}/{type}/{id}/_termvectors", "{indices}/{type}/_termvectors" ], - "documentation": "https://opensearch.org/docs/latest/guide/en/elasticsearch/reference/master/docs-termvectors.html" + "documentation": "https://opensearch.org/docs/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json index 837d958815a8..3ec822f9150d 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update.json @@ -23,6 +23,6 @@ "patterns": [ "{indices}/_update/{id}" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-document/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/update-document/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json index 968956417cca..58a562c15e94 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query.json @@ -59,6 +59,6 @@ "{indices}/_update_by_query", "{indices}/{type}/_update_by_query" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-by-query/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/update-by-query/" } -} +} \ No newline at end of file diff --git a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json index 82fdd869e4d1..3bf15b020f71 100644 --- a/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json +++ b/src/plugins/console/server/lib/spec_definitions/json/generated/update_by_query_rethrottle.json @@ -9,6 +9,6 @@ "patterns": [ "_update_by_query/{task_id}/_rethrottle" ], - "documentation": "https://opensearch.org/docs/latest/opensearch/rest-api/document-apis/update-by-query/" + "documentation": "https://opensearch.org/docs/latest/api-reference/document-apis/update-by-query/" } -} +} \ No newline at end of file