v1

latestOpenAPI 3.0.42026-08-068161,1253.1 MB
Universes

Publish Universe Message

Publishes a message to the universe's live servers.

Servers can consume messages via MessagingService.

post/cloud/v2/universes/{universe_id}:publishMessage

Path parameters

universe_idstring required

The universe ID.

Request body

topicstring required

The topic on which to publish the message.

messagestring required

The message to publish.

Example request

{
  "topic": "my-topic",
  "message": "Hello, world!"
}

Response

OK