mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-30 11:58:36 +00:00
Merge pull request #13902 from elastic/fix/get-field-mapping-restspec
Get field mapping documented fields as field
This commit is contained in:
commit
e4049ccd8e
@ -3,8 +3,8 @@
|
|||||||
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html",
|
"documentation": "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html",
|
||||||
"methods": ["GET"],
|
"methods": ["GET"],
|
||||||
"url": {
|
"url": {
|
||||||
"path": "/_mapping/field/{field}",
|
"path": "/_mapping/field/{fields}",
|
||||||
"paths": ["/_mapping/field/{field}", "/{index}/_mapping/field/{field}", "/_mapping/{type}/field/{field}", "/{index}/_mapping/{type}/field/{field}"],
|
"paths": ["/_mapping/field/{fields}", "/{index}/_mapping/field/{fields}", "/_mapping/{type}/field/{fields}", "/{index}/_mapping/{type}/field/{fields}"],
|
||||||
"parts": {
|
"parts": {
|
||||||
"index": {
|
"index": {
|
||||||
"type" : "list",
|
"type" : "list",
|
||||||
@ -14,7 +14,7 @@
|
|||||||
"type" : "list",
|
"type" : "list",
|
||||||
"description" : "A comma-separated list of document types"
|
"description" : "A comma-separated list of document types"
|
||||||
},
|
},
|
||||||
"field": {
|
"fields": {
|
||||||
"type" : "list",
|
"type" : "list",
|
||||||
"description" : "A comma-separated list of fields",
|
"description" : "A comma-separated list of fields",
|
||||||
"required" : true
|
"required" : true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user