app.zeens.getEventFacets
Category and mode counts for the events filter strip, aggregated in Postgres over the whole catalog (not tallied from a page of results). Lets the client offer only filters that will actually return something. Scoped by the same time window as getEvents, so an Upcoming strip counts upcoming events.
Details · query
| Kind | query |
|---|---|
| Authority | zeens.app |
| Indexed |
Query
query · GETParameters
query stringfilter
stringTime window to count within. Must match the window the feed is showing, or the strip would offer a filter that returns nothing on this tab.
default: "upcoming"knownValues: upcoming | past | all
Output
application/jsonSimilar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
app.zeens.getEvents
queryBrowse events. Defaults to upcoming events (startsAt >= now) ordered by startsAt ascending with a stable uri tie-breaker. Supports multi-value category filtering (OR-matched), mode filtering (in person / online / hybrid), and nearby filtering (lat/lng/radius, reusing the getNearbyPhotos coordinate convention).