Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

API endpoint to report incorrect hours #3

Open
zacwood9 opened this issue Feb 1, 2020 · 0 comments
Open

API endpoint to report incorrect hours #3

zacwood9 opened this issue Feb 1, 2020 · 0 comments

Comments

@zacwood9
Copy link
Member

zacwood9 commented Feb 1, 2020

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 [email protected] because:

  1. It combats spam and abuse

  2. 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.

@zacwood9 zacwood9 added this to the v2.3 - Breakup Edition milestone Feb 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant