From d211a9cb1110832bb471c97601e51adc951abf66 Mon Sep 17 00:00:00 2001 From: delvedor Date: Tue, 15 Sep 2020 09:08:58 +0200 Subject: [PATCH] API generation --- api/api/searchable_snapshots.clear_cache.js | 2 +- api/api/searchable_snapshots.repository_stats.js | 4 ++-- api/api/searchable_snapshots.stats.js | 2 +- docs/reference.asciidoc | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/api/searchable_snapshots.clear_cache.js b/api/api/searchable_snapshots.clear_cache.js index 2c1d3e1b4..1391a701d 100644 --- a/api/api/searchable_snapshots.clear_cache.js +++ b/api/api/searchable_snapshots.clear_cache.js @@ -43,7 +43,7 @@ function buildSearchableSnapshotsClearCache (opts) { /** * Perform a searchable_snapshots.clear_cache request * Clear the cache of searchable snapshots. - * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-clear-cache.html + * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html */ return function searchableSnapshotsClearCache (params, options, callback) { options = options || {} diff --git a/api/api/searchable_snapshots.repository_stats.js b/api/api/searchable_snapshots.repository_stats.js index 13e60cad4..e6af0ca5e 100644 --- a/api/api/searchable_snapshots.repository_stats.js +++ b/api/api/searchable_snapshots.repository_stats.js @@ -36,8 +36,8 @@ function buildSearchableSnapshotsRepositoryStats (opts) { /** * Perform a searchable_snapshots.repository_stats request - * Retrieve usage statistics about a snapshot repository. - * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-repository-stats.html + * DEPRECATED: This API is replaced by the Repositories Metering API. + * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html */ return function searchableSnapshotsRepositoryStats (params, options, callback) { options = options || {} diff --git a/api/api/searchable_snapshots.stats.js b/api/api/searchable_snapshots.stats.js index ca5ce81a0..ae11b036e 100644 --- a/api/api/searchable_snapshots.stats.js +++ b/api/api/searchable_snapshots.stats.js @@ -37,7 +37,7 @@ function buildSearchableSnapshotsStats (opts) { /** * Perform a searchable_snapshots.stats request * Retrieve various statistics about searchable snapshots. - * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-api-stats.html + * https://www.elastic.co/guide/en/elasticsearch/reference/master/searchable-snapshots-apis.html */ return function searchableSnapshotsStats (params, options, callback) { options = options || {} diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 79499affc..4fd7ab623 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -9309,7 +9309,7 @@ client.searchableSnapshots.clearCache({ expand_wildcards: 'open' | 'closed' | 'none' | 'all' }) ---- -link:{ref}/searchable-snapshots-api-clear-cache.html[Documentation] + +link:{ref}/searchable-snapshots-apis.html[Documentation] + [cols=2*] |=== |`index` @@ -9367,7 +9367,7 @@ client.searchableSnapshots.repositoryStats({ repository: string }) ---- -link:{ref}/searchable-snapshots-repository-stats.html[Documentation] + +link:{ref}/searchable-snapshots-apis.html[Documentation] + [cols=2*] |=== |`repository` @@ -9383,7 +9383,7 @@ client.searchableSnapshots.stats({ index: string | string[] }) ---- -link:{ref}/searchable-snapshots-api-stats.html[Documentation] + +link:{ref}/searchable-snapshots-apis.html[Documentation] + [cols=2*] |=== |`index`