pullreminders / backlog

Public backlog for http://pullpanda.com
59 stars 9 forks source link

As a user, I would like to have access to an API to programmatically exclude/add reviewers #206

Closed ftchirou closed 3 years ago

ftchirou commented 5 years ago

In my team, we have a Slack app running that observes the developers statuses and sets them up as available or unavailable for code reviews. This last part is done by adding/removing them to/from the Github Team associated to PullPanda. Useful for when reviewers are on holiday or unavailable temporarily.

Ideally, it would be great to have an API allowing to automatically exclude or add reviewers so we (and other teams) don't have to really on the GitHub API for this.

Something like the following would be great.

PUT    /assigner/teams/:team-id/excluded_users/:user_id
DELETE /assigner/teams/:team-id/excluded_users/:user_id

Thanks for the amazing work ❤️.