Added the API definition for deleting a document type

This commit is contained in:
Karel Minarik 2013-05-27 16:08:58 +02:00
parent f0db0f9d3a
commit bd837355dc

View File

@ -1,21 +1,22 @@
{
"indices.mapping.delete": {
"documentation": "",
"indices.type.delete": {
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-delete-mapping/",
"methods": ["DELETE"],
"url": {
"path": "/{index}/{type}/_mapping",
"paths": ["/{index}/{type}/_mapping", "/{index}/{type}"],
"parts": {
"index": {
"type" : "list",
"required" : true,
"description" : "A comma-separated list of index names; use `_all` for all indices"
},
"type": {
"type" : "string",
"description" : "The name of the document type to delete"
}
},
"params": {
"index": {
},
"type": {
}
}
},
"body": null