Adam Hassick <ahass...@iol.unh.edu> writes: > Hi All, > > It appears that there already is a filter for projects for events, but > the filter is configured to be hidden from the HTML view for some > reason. We don't need to make any code changes to enable this feature. > See here: > https://github.com/getpatchwork/patchwork/blob/stable/3.2/patchwork/api/filters.py#L239 > > If you visit the following URL: > https://patchwork.dpdk.org/api/events/?category=series-created&project=CI > You can filter for series created events by project. This query > filters for series created events for the CI repo's project.
Thanks Adam - I was using the html view to discover the REST details rather than looking at the filter setup. > Adam > > On Fri, May 30, 2025 at 12:07 PM Patrick Robb <pr...@iol.unh.edu> wrote: >> >> I went looking through recent series on patchwork and I think this >> is a good example of the timestamp condition: >> https://patchwork.dpdk.org/api/series/35145/. Looks like the >> original commits were made on April 18, then the newest version was >> submitted on May 5 but the series record retains the 4/18 date. >> >> And I see that there is no project filter provided by the /events/ endpoint. >> https://patchwork.dpdk.org/api/events/ >> >> Adam, would you agree the project filter for API requests is pretty low >> hanging fruit? Seems like a common sense improvement to me. >> >> On Tue, May 6, 2025 at 3:08 PM Patrick Robb <pr...@iol.unh.edu> wrote: >>> >>> Thanks for the clarification regarding the datetimes. Yes let's clear up >>> any remaining questions offline at Prague. :)