Remove type end-points from count action (#2379)
Signed-off-by: Suraj Singh <surajrider@gmail.com>
This commit is contained in:
parent
1f0361a929
commit
919d18036e
|
@ -66,10 +66,7 @@ public class RestCountAction extends BaseRestHandler {
|
|||
new Route(GET, "/_count"),
|
||||
new Route(POST, "/_count"),
|
||||
new Route(GET, "/{index}/_count"),
|
||||
new Route(POST, "/{index}/_count"),
|
||||
// Deprecated typed endpoints.
|
||||
new Route(GET, "/{index}/{type}/_count"),
|
||||
new Route(POST, "/{index}/{type}/_count")
|
||||
new Route(POST, "/{index}/_count")
|
||||
)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue