update get pipeline param names to id for consistency
This commit is contained in:
parent
979fa81618
commit
c4951ef74f
|
@ -3,10 +3,10 @@
|
||||||
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
|
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
|
||||||
"methods": [ "GET" ],
|
"methods": [ "GET" ],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_ingest/pipeline/{ids}",
|
"path": "/_ingest/pipeline/{id}",
|
||||||
"paths": [ "/_ingest/pipeline/{ids}" ],
|
"paths": [ "/_ingest/pipeline/{id}" ],
|
||||||
"parts": {
|
"parts": {
|
||||||
"ids": {
|
"id": {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"description" : "Comma separated list of pipeline ids. Wildcards supported",
|
"description" : "Comma separated list of pipeline ids. Wildcards supported",
|
||||||
"required" : true
|
"required" : true
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
- do:
|
- do:
|
||||||
ingest.get_pipeline:
|
ingest.get_pipeline:
|
||||||
ids: "my_pipeline"
|
id: "my_pipeline"
|
||||||
- match: { my_pipeline._source.description: "_description" }
|
- match: { my_pipeline._source.description: "_description" }
|
||||||
- match: { my_pipeline._version: 1 }
|
- match: { my_pipeline._version: 1 }
|
||||||
|
|
||||||
|
@ -53,7 +53,7 @@
|
||||||
- do:
|
- do:
|
||||||
catch: missing
|
catch: missing
|
||||||
ingest.get_pipeline:
|
ingest.get_pipeline:
|
||||||
ids: "my_pipeline"
|
id: "my_pipeline"
|
||||||
|
|
||||||
---
|
---
|
||||||
"Test invalid config":
|
"Test invalid config":
|
||||||
|
|
Loading…
Reference in New Issue