Email alerter connects to a socket server (separate repo), retrieves information. As a user you can subscribe to the information flow and add your personal triggerwords. If a triggerword is detected an email will be sent, Alerting you.
sh build.sh
Start subscription:
Method: PUT
url /v1/words
Body:
{
"emailAddress":"emailAddress",
"words":["WARN","ERROR"]
}
End subscription:
Method: DEL
url /v1/words
Params:
email : emailAddress
Add watchword:
Method: PUT
url: /v1/addresses/
Params:
email : emailaddress
word : watchword
Remove watchword:
Method: DEL
url: /v1/addresses/
Params:
email : emailaddress
word : watchword