Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add async webhook that notifies about certain changes to attendees #238

Open
Jumpy-Squirrel opened this issue Nov 17, 2024 · 0 comments
Open
Assignees
Labels
mmc Mephitminicon feature

Comments

@Jumpy-Squirrel
Copy link
Contributor

In the configuration, allow adding a list of target URLs to send asynchronous webhooks to if an attendee changes in the following ways:

  • due amount changed
  • remaining dues changed
  • due date changed
  • status changed
  • packages changed
  • options changed
  • flags changed
  • nickname changed
  • avatar URL changed (new field taken from JWT), for now can only detect change if user is seen

The webhook should be a POST request, and only contain the information listed, but in an extensible format. Especially must consider that packages will receive a count.

For now, we do not implement exponential back-off, but the hook should be sent in a goroutine to not hold up requests.

Hook requests should send request IDs but no authorization. We expect the URL to include a secret part.

The first recipient of this webhook will be reg-room-service, to be able to remove cancelled attendees from groups and rooms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mmc Mephitminicon feature
Projects
None yet
Development

No branches or pull requests

1 participant