2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"indices.create": {
|
2013-05-27 09:22:28 -04:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-create-index/",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["PUT", "POST"],
|
|
|
|
"url": {
|
|
|
|
"path": "/{index}",
|
|
|
|
"paths": ["/{index}"],
|
|
|
|
"parts": {
|
|
|
|
"index": {
|
2013-05-27 09:22:28 -04:00
|
|
|
"type" : "string",
|
|
|
|
"required" : true,
|
|
|
|
"description" : "The name of the index"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
|
|
|
"timeout": {
|
2013-05-27 09:22:28 -04:00
|
|
|
"type" : "time",
|
|
|
|
"description" : "Explicit operation timeout"
|
2013-07-22 18:06:25 -04:00
|
|
|
},
|
|
|
|
"master_timeout": {
|
|
|
|
"type" : "time",
|
|
|
|
"description" : "Specify timeout for connection to master"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": {
|
2013-05-27 09:22:28 -04:00
|
|
|
"description" : "The configuration for the index (`settings` and `mappings`)"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|