Browse Source

[DOCS] Correct `<enrich-policy>` parm description for comma-sep list (#46682)

James Rodewig 6 years ago
parent
commit
a18b587f59
1 changed files with 8 additions and 3 deletions
  1. 8 3
      docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc

+ 8 - 3
docs/reference/ingest/apis/enrich/get-enrich-policy.asciidoc

@@ -47,8 +47,6 @@ GET /_enrich/policy/my-policy
 
 
 `GET /_enrich/policy`
 `GET /_enrich/policy`
 
 
-`GET /_enrich/policy1,policy2`
-
 
 
 [[get-enrich-policy-api-prereqs]]
 [[get-enrich-policy-api-prereqs]]
 ==== {api-prereq-title}
 ==== {api-prereq-title}
@@ -60,8 +58,15 @@ include::put-enrich-policy.asciidoc[tag=enrich-policy-api-prereqs]
 ==== {api-path-parms-title}
 ==== {api-path-parms-title}
 
 
 `<enrich-policy>`::
 `<enrich-policy>`::
++
+--
 (Optional, string)
 (Optional, string)
-include::{docdir}/rest-api/common-parms.asciidoc[tag=enrich-policy]
+Comma-separated list of enrich policy names
+used to limit the request.
+
+To return information for all enrich policies,
+omit this parameter.
+--
 
 
 
 
 [[get-enrich-policy-api-example]]
 [[get-enrich-policy-api-example]]