{"version":"0.2.34","relay":"Mercury Index-Relay","endpoints":[{"path":"/relay","description":"Read-only NIP-01 WebSocket relay (Upgrade: websocket; REQ/CLOSE for kinds 30023, 30040, 30041, 30817, 30818)","method":"WS"},{"path":"/api/events","description":"List events (requires filter params)","method":"GET"},{"path":"/api/events/filter","description":"Query events with a NIP-01 filter body (single-letter `#` tags only; e.g. `#d`, `#T`, `#N`, `#i`, `#s`)","method":"POST"},{"path":"/api/publications/search","description":"Metadata search for kind-30040 indexes (`d`/`T`/`N`/`s`/`i` plus multi-letter `title`/`author`; body fields title→T+title, author→N+author)","method":"POST"},{"path":"/api/publications/sections/search","description":"Search kind-30041 sections by body and `d`/`T`/`title` tags","method":"POST"},{"path":"/api/wiki/search","description":"Search kind-30818 wiki articles by content and `d`/`T`/`s`/`i`/`title` tags","method":"POST"},{"path":"/api/events/:id","description":"Get a single event by ID","method":"GET"},{"path":"/api/events","description":"Publish a new event","method":"POST"},{"path":"/api/events/:id","description":"Admin-only delete (Bearer ADMIN_API_TOKEN)","method":"DELETE"},{"path":"/api/swagger","description":"Swagger UI","method":"GET"},{"path":"/health","description":"Health check","method":"GET"}]}