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 |
Checks
Validunlimited-stringdefs.main.parameters.properties.filterNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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.",
"output": {
"encoding": "application/json"
},
"parameters": {
"properties": {
"filter": {
"default": "upcoming",
"description": "Time 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.",
"knownValues": [
"upcoming",
"past",
"all"
],
"type": "string"
}
},
"type": "params"
},
"target_collection": "app.zeens.event",
"type": "query"
}
},
"id": "app.zeens.getEventFacets",
"lexicon": 1
}