The "Event Analytics" section of the control panel should show the events organized by committee. Creating the endpoint for getting events by committee is the first step in making this functionality.
To Do
[ ] Create a new db function called getCommitteeEvents(committee, offset, limit) that queries the database for events from that committee
[ ] Create a new endpoint at app/api/v1/event/:committee? that returns the events from a specific committee
Motivation
The "Event Analytics" section of the control panel should show the events organized by committee. Creating the endpoint for getting events by committee is the first step in making this functionality.
To Do
getCommitteeEvents(committee, offset, limit)
that queries the database for events from that committeeapp/api/v1/event/:committee?
that returns the events from a specific committee