From 9aa12c0c7259649d8cd974864b795d7e302cc398 Mon Sep 17 00:00:00 2001 From: Karel Minarik Date: Mon, 27 May 2013 12:10:25 +0200 Subject: [PATCH] Added the API definition for deleting a single alias --- rest-api-spec/api/indices.alias.delete.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/rest-api-spec/api/indices.alias.delete.json b/rest-api-spec/api/indices.alias.delete.json index 87d068dc4ab..af040af703c 100644 --- a/rest-api-spec/api/indices.alias.delete.json +++ b/rest-api-spec/api/indices.alias.delete.json @@ -1,22 +1,34 @@ { "indices.alias.delete": { - "documentation": "", + "documentation": "http://www.elasticsearch.org/guide/reference/api/admin-indices-aliases/", "methods": ["DELETE"], "url": { "path": "/{index}/_alias/{name}", "paths": ["/{index}/_alias/{name}"], "parts": { "index": { + "type" : "string", + "required" : true, + "description" : "The name of the index with an alias" }, "name": { + "type" : "string", + "required" : true, + "description" : "The name of the alias to be deleted" } }, "params": { "index": { + "type" : "string", + "description" : "The name of the index to be aliased" }, "name": { + "type" : "string", + "description" : "The name of the alias" }, "timeout": { + "type" : "time", + "description" : "Explicit timestamp for the document" } } },