diff --git a/api/api/xpack.usage.js b/api/api/xpack.usage.js index 146025104..0e6d3b0c8 100644 --- a/api/api/xpack.usage.js +++ b/api/api/xpack.usage.js @@ -21,7 +21,7 @@ function buildXpackUsage (opts) { /** * Perform a xpack.usage request - * Retrieve information about xpack features usage + * https://www.elastic.co/guide/en/elasticsearch/reference/current/usage-api.html */ return function xpackUsage (params, options, callback) { options = options || {} diff --git a/api/requestParams.d.ts b/api/requestParams.d.ts index 12966fe59..9ed79e31a 100644 --- a/api/requestParams.d.ts +++ b/api/requestParams.d.ts @@ -1480,7 +1480,7 @@ export interface EnrichExecutePolicy extends Generic { } export interface EnrichGetPolicy extends Generic { - name?: string; + name?: string | string[]; } export interface EnrichPutPolicy extends Generic { diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 36b7023e6..f1d4c41be 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -5957,14 +5957,14 @@ _Default:_ `true` [source,ts] ---- client.enrich.getPolicy({ - name: string + name: string | string[] }) ---- link:{ref}/get-enrich-policy-api.html[Documentation] + [cols=2*] |=== |`name` -|`string` - The name of the enrich policy +|`string \| string[]` - A comma-separated list of enrich policy names |=== @@ -9186,7 +9186,7 @@ client.xpack.usage({ master_timeout: string }) ---- -link:Retrieve information about xpack features usage[Documentation] + +link:{ref}/usage-api.html[Documentation] + [cols=2*] |=== |`master_timeout` or `masterTimeout`