2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"indices.create": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-create-index.html",
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|