Adding /event address for GET/POST requests, deprecating /api