update get pipeline param names to id for consistency

This commit is contained in:
javanna 2015-11-12 17:40:14 +01:00 committed by Luca Cavanna
parent 979fa81618
commit c4951ef74f
2 changed files with 5 additions and 5 deletions

View File

@ -3,10 +3,10 @@
"documentation": "https://www.elastic.co/guide/en/elasticsearch/plugins/master/ingest.html",
"methods": [ "GET" ],
"url": {
"path": "/_ingest/pipeline/{ids}",
"paths": [ "/_ingest/pipeline/{ids}" ],
"path": "/_ingest/pipeline/{id}",
"paths": [ "/_ingest/pipeline/{id}" ],
"parts": {
"ids": {
"id": {
"type" : "string",
"description" : "Comma separated list of pipeline ids. Wildcards supported",
"required" : true

View File

@ -32,7 +32,7 @@
- do:
ingest.get_pipeline:
ids: "my_pipeline"
id: "my_pipeline"
- match: { my_pipeline._source.description: "_description" }
- match: { my_pipeline._version: 1 }
@ -53,7 +53,7 @@
- do:
catch: missing
ingest.get_pipeline:
ids: "my_pipeline"
id: "my_pipeline"
---
"Test invalid config":