diff --git a/rest-api-spec/api/termvector.json b/rest-api-spec/api/termvector.json index 7c285de3fc4c4..75c0c3f89cff0 100644 --- a/rest-api-spec/api/termvector.json +++ b/rest-api-spec/api/termvector.json @@ -3,8 +3,8 @@ "documentation" : "http://www.elastic.co/guide/en/elasticsearch/reference/1.x/docs-termvectors.html", "methods" : ["GET", "POST"], "url" : { - "path" : "/{index}/{type}/{id}/_termvector", - "paths" : ["/{index}/{type}/{id}/_termvector"], + "path" : "/{index}/{type}/_termvector", + "paths" : ["/{index}/{type}/_termvector", "/{index}/{type}/{id}/_termvector"], "parts" : { "index" : { "type" : "string", @@ -18,8 +18,7 @@ }, "id" : { "type" : "string", - "description" : "The id of the document.", - "required" : true + "description" : "The id of the document." } }, "params": {