app.zeens.getEventFacets

zeens.app

Documentation

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.

main query

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.

Parameters

filter string Optional

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.

Output

Encodingapplication/json
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
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.
View raw schema
{
  "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"
}

Lexicon Garden

@