Merge pull request #13902 from elastic/fix/get-field-mapping-restspec

Get field mapping documented fields as field
This commit is contained in:
Martijn Laarman 2015-10-06 11:26:46 +02:00
commit e4049ccd8e

View File

@ -3,8 +3,8 @@
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html",
"methods": ["GET"],
"url": {
"path": "/_mapping/field/{field}",
"paths": ["/_mapping/field/{field}", "/{index}/_mapping/field/{field}", "/_mapping/{type}/field/{field}", "/{index}/_mapping/{type}/field/{field}"],
"path": "/_mapping/field/{fields}",
"paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}", "/_mapping/{type}/field/{fields}", "/{index}/_mapping/{type}/field/{fields}"],
"parts": {
"index": {
"type" : "list",
@ -14,7 +14,7 @@
"type" : "list",
"description" : "A comma-separated list of document types"
},
"field": {
"fields": {
"type" : "list",
"description" : "A comma-separated list of fields",
"required" : true