Centrifugo
communityOpen-source scalable real-time messaging server with WebSocket and SSE support.
This is a community-generated spec
This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.
POST
https://{instance}/api/publishPublish message
Parameters
datamessage data (objectrequiredchannelchannel (stringrequiredReturns
result with offset, epochPOST
https://{instance}/api/presenceGet channel presence
Parameters
channelchannel (stringrequiredReturns
result with presence map of client_id to user infoPOST
https://{instance}/api/historyGet channel history
Parameters
limitresults (integeroptionalchannelchannel (stringrequiredReturns
result with publications[] with data, offset; epoch