DOCS : Add REST API doc for akcing alerts.

Original commit: elastic/x-pack-elasticsearch@633444773d
This commit is contained in:
Brian Murphy 2014-11-21 12:52:31 +00:00
parent 6ea6256e35
commit 97bbd747ea
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ public class RestAckAlertAction extends BaseRestHandler {
protected RestAckAlertAction(Settings settings, RestController controller, Client client, AlertsClient alertsClient) {
super(settings, controller, client);
this.alertsClient = alertsClient;
controller.registerHandler(RestRequest.Method.PUT, AlertsStore.ALERT_INDEX + "/{name}/_ack", this);
controller.registerHandler(RestRequest.Method.PUT, AlertsStore.ALERT_INDEX + "/alert/{name}/_ack", this);
}
@Override