{ "snapshot.create_repository": { "documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/modules-snapshots.html", "methods": ["PUT", "POST"], "url": { "path": "/_snapshot/{repository}", "paths": ["/_snapshot/{repository}"], "parts": { "repository": { "type": "string", "required" : true, "description": "A repository name" } }, "params": { "master_timeout": { "type" : "time", "description" : "Explicit operation timeout for connection to master node" }, "timeout": { "type" : "time", "description" : "Explicit operation timeout" } } }, "body": { "description" : "The repository definition", "required" : true } } }