API to report incorrect hours
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 firstname.lastname@example.org because:
It combats spam and abuse
It requires little user involvement
Well, Slack-hook is fast for now. We should include an API endpoint called
reportwith 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.