houdiniproject / houdini

Free and open source fundraising infrastructure for nonprofits and NGOs
https://houdiniproject.org
Other
190 stars 95 forks source link

[FEATURE] Make a controller action for listing all of the object events #630

Open wwahammy opened 3 years ago

wwahammy commented 3 years ago

Is your feature request related to a problem? Please describe. In order to make sure a webhook doesn't miss an event or do it in the wrong order, it would be ideal to be able to get the list of all fired events for a given object. The webhook handler can then verify that they haven't missed any events and Currently, the events are not saved and there's no way to get them after the fact.

Describe the solution you'd like An api endpoint like: /api/nonprofit/:nonprofit_id/object_events?noun=:noun where noun is the type of object event, like transaction.updated and which returns events in reverse order.

Must implement paging.

Depends on #631

github-actions[bot] commented 3 years ago

:hourglass_flowing_sand: Alright! Looks like we need to wait for some dependencies:

:bulb: Don't worry, I will continue watching the list above and keep this comment updated. To add or remove a dependency please update this issue/PR description.

Brought to you by Dependent Issues (:robot: ). Happy coding!