PipedreamHQ / PipedreamHQ/pipedream
[FEATURE] Filtering events using the GET /event_summaries endpoint
- Dominant language
- JavaScript
- Stars
- 11.7k
- Forks
- 5.8k
- Avg merge
- 3d 10h
- Merged PRs (30d)
- 102
Description
**Is your feature request related to a problem? Please describe.**
Hi Pipedream! I have this particular use case when my app is sending multiple events to a Pipedream webhook. From those events stored in my Pipedream workflow, I want to get a specific event that matches the set condition via Pipedream's `/event_summaries` endpoint. As of the moment, `/event_summaries` endpoint can return all events, or return a specific number of events (`/event_summaries?limit=10`).
**Describe the solution you'd like**
An ability to return filtered events according to its url, header or content information. Something like this:
`/event_summaries?url=` or `/event_summaries` body has a specific filter condition.
**Do you have a workaround?**
In my Pipedream workflow I send a request to the `/event_summaries` endpoint and get all events, then filter the events with a nodejs step.
**Comparable features in other tools?**
[Mocklab](https://www.mocklab.io/docs/mocking/) has an endpoint similar to `/event_summaries` that has an ability to filter events. Its endpoint is: `/__admin/requests/find`
**Additional context**
https://pipedream.com/docs/workflows/events/#events
https://pipedream.com/docs/api/rest/#get-source-events
Contributor guide
Assessment
This issue has not been assessed yet.