Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
[DOCS] Fix broken links to synced flush API
Browse files Browse the repository at this point in the history
  • Loading branch information
jrodewig committed Dec 14, 2021
1 parent f505170 commit e484f46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/api_methods.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3694,7 +3694,7 @@ client.indices.flushSynced([params, [callback]])

// no description

Check the *<<api-conventions>>* and https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-flush.html#synced-flush-api[the elasticsearch docs] for more information pertaining to this method.
Check the *<<api-conventions>>* and https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-synced-flush-api.html[the elasticsearch docs] for more information pertaining to this method.

// no examples

Expand All @@ -3717,7 +3717,7 @@ Options:::
`index`::
<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>> -- A comma-separated list of index names; use `_all` or empty string for all indices
`body`::
<<api-param-type-object,`Object`>>, <<api-param-type-json,`JSON`>> -- An optional request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-flush.html#synced-flush-api[the elasticsearch docs] for details about what can be specified here.
<<api-param-type-object,`Object`>>, <<api-param-type-json,`JSON`>> -- An optional request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-synced-flush-api.html[the elasticsearch docs] for details about what can be specified here.

link:#[back to top]

Expand Down
4 changes: 2 additions & 2 deletions docs/api_methods_7_5.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3694,7 +3694,7 @@ client.indices.flushSynced([params, [callback]])

// no description

Check the *<<api-conventions>>* and https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-flush.html#synced-flush-api[the elasticsearch docs] for more information pertaining to this method.
Check the *<<api-conventions>>* and https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-synced-flush-api.html[the elasticsearch docs] for more information pertaining to this method.

// no examples

Expand All @@ -3717,7 +3717,7 @@ Options:::
`index`::
<<api-param-type-string,`String`>>, <<api-param-type-string-array,`String[]`>>, <<api-param-type-boolean,`Boolean`>> -- A comma-separated list of index names; use `_all` or empty string for all indices
`body`::
<<api-param-type-object,`Object`>>, <<api-param-type-json,`JSON`>> -- An optional request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-flush.html#synced-flush-api[the elasticsearch docs] for details about what can be specified here.
<<api-param-type-object,`Object`>>, <<api-param-type-json,`JSON`>> -- An optional request body, as either JSON or a JSON serializable object. See https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-synced-flush-api.html[the elasticsearch docs] for details about what can be specified here.

link:#[back to top]

Expand Down
2 changes: 1 addition & 1 deletion src/lib/apis/7_5.js
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,7 @@ api.indices.prototype.flush = ca({
});

/**
* Perform a [indices.flushSynced](https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-flush.html#synced-flush-api) request
* Perform a [indices.flushSynced](https://www.elastic.co/guide/en/elasticsearch/reference/7.5/indices-synced-flush-api.html) request
*
* @param {Object} params - An object with parameters used to carry out this action
* @param {<<api-param-type-boolean,`Boolean`>>} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
Expand Down
2 changes: 1 addition & 1 deletion src/lib/apis/7_6.js
Original file line number Diff line number Diff line change
Expand Up @@ -3286,7 +3286,7 @@ api.indices.prototype.flush = ca({
});

/**
* Perform a [indices.flushSynced](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-flush.html#synced-flush-api) request
* Perform a [indices.flushSynced](https://www.elastic.co/guide/en/elasticsearch/reference/7.6/indices-synced-flush-api.html) request
*
* @param {Object} params - An object with parameters used to carry out this action
* @param {<<api-param-type-boolean,`Boolean`>>} params.ignoreUnavailable - Whether specified concrete indices should be ignored when unavailable (missing or closed)
Expand Down

0 comments on commit e484f46

Please sign in to comment.