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", "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

View File

@ -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":