Notificaciones en tiempo real (SSE)
Suscríbete a canales NOTIFY de PostgreSQL mediante Server-Sent Events:
curl -N "http://localhost:8080/sse/my_database?channels=orders,users" \
-H "Authorization: Bearer $TOKEN"Cada mensaje es JSON con el canal y el payload:
{"channel":"orders","data":{"id":123,"status":"created"}}Si el payload es texto, se envuelve como string en data.