# app.zeens.getEvent

> Fetch a single event by AT-URI, hydrated with the organiser's profile and raw RSVP counts (going / interested) aggregated from app.zeens.rsvp records. For gated events (approvalRequired or capacityMode=waitlist) these raw counts are advisory; the SvelteKit layer overlays canonical approved/waitlisted counts from PocketBase, which Lua cannot see.

- Kind: query
- Authority: zeens.app
- Lexicon: 1
- Published by [zeens.app](https://lexicon.garden/identity/did:plc:pwpuqwge6g7xrjmfbw73uycw), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEvent)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEvent/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:pwpuqwge6g7xrjmfbw73uycw/app.zeens.getEvent/analytics)

## Query (`app.zeens.getEvent`)

Type: query · GET

### Parameters (query string)

- `uri` (string · at-uri, required): AT-URI of the app.zeens.event record.
- `viewer` (string · did): Viewer DID, used to report the viewer's own RSVP status.

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Fetch a single event by AT-URI, hydrated with the organiser's profile and raw RSVP counts (going / interested) aggregated from app.zeens.rsvp records. For gated events (approvalRequired or capacityMode=waitlist) these raw counts are advisory; the SvelteKit layer overlays canonical approved/waitlisted counts from PocketBase, which Lua cannot see.",
      "output": {
        "encoding": "application/json"
      },
      "parameters": {
        "properties": {
          "uri": {
            "description": "AT-URI of the app.zeens.event record.",
            "format": "at-uri",
            "type": "string"
          },
          "viewer": {
            "description": "Viewer DID, used to report the viewer's own RSVP status.",
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "uri"
        ],
        "type": "params"
      },
      "target_collection": "app.zeens.event",
      "type": "query"
    }
  },
  "id": "app.zeens.getEvent",
  "lexicon": 1
}
```
