{"version":"0.2.27","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","method":"POST"},{"path":"/api/publications/search","description":"Metadata search for kind-30040 publication indexes (d, title, author, source)","method":"POST"},{"path":"/api/publications/sections/search","description":"Search kind-30041 publication sections by title tags and body content","method":"POST"},{"path":"/api/wiki/search","description":"Search kind-30818 NIP-54 wiki articles by content and metadata (d, title, summary, source)","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":"Delete an event by ID","method":"DELETE"},{"path":"/api/swagger","description":"Swagger UI","method":"GET"},{"path":"/health","description":"Health check","method":"GET"}]}