API to report incorrect hours
Summary
Low-friction method to handle errors in the hours
There needs to be a simple zero-friction way to report an inaccuracy so that one of us can be notified and go check and update the hours
This should be handled within the API, then the separate applications have a way to send the request. Then we should have a bot in the #whats-open channel ping so with the submitted ticket in order to let us know what hours are wrong, so someone can quickly go and fix it. This is more effective than having an email sent to srct@gmu.edu because:
-
It combats spam and abuse
-
It requires little user involvement
Helpful Links
Well, Slack-hook is fast for now. We should include an API endpoint called
report
with the device-ID (for mobile), platform (web, iOS, Android, etc.), facility, datetime, and a session token. On our side, we just have a function that send a message to Slack with this information and store it in a DB table.