2013-10-30 14:19:35 -04:00
{
2013-10-30 17:16:55 -04:00
"indices.get_field_mapping" : {
2015-03-24 12:03:35 -04:00
"documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html" ,
2013-10-30 14:19:35 -04:00
"methods" : [ "GET" ] ,
"url" : {
"path" : "/_mapping/field/{field}" ,
2014-01-14 16:39:28 -05:00
"paths" : [ "/_mapping/field/{field}" , "/{index}/_mapping/field/{field}" , "/_mapping/{type}/field/{field}" , "/{index}/_mapping/{type}/field/{field}" ] ,
2013-10-30 14:19:35 -04:00
"parts" : {
"index" : {
"type" : "list" ,
"description" : "A comma-separated list of index names"
} ,
"type" : {
"type" : "list" ,
"description" : "A comma-separated list of document types"
} ,
"field" : {
"type" : "list" ,
2013-11-05 05:17:59 -05:00
"description" : "A comma-separated list of fields" ,
"required" : true
2013-10-30 14:19:35 -04:00
}
} ,
"params" : {
"include_defaults" : {
"type" : "boolean" ,
2013-11-05 05:17:59 -05:00
"description" : "Whether the default mapping values should be returned as well"
2014-01-05 17:32:44 -05:00
} ,
"ignore_unavailable" : {
"type" : "boolean" ,
"description" : "Whether specified concrete indices should be ignored when unavailable (missing or closed)"
} ,
"allow_no_indices" : {
"type" : "boolean" ,
"description" : "Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes `_all` string or when no indices have been specified)"
} ,
"expand_wildcards" : {
"type" : "enum" ,
2015-01-23 10:03:17 -05:00
"options" : [ "open" , "closed" , "none" , "all" ] ,
2014-01-05 17:32:44 -05:00
"default" : "open" ,
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
2014-01-16 09:29:22 -05:00
} ,
"local" : {
"type" : "boolean" ,
"description" : "Return local information, do not retrieve the state from master node (default: false)"
2013-10-30 14:19:35 -04:00
}
}
} ,
"body" : null
}
}