Send a transaction
PUT {{baseUrl}}/send/:txnId
Push messages representing live activity to another server. The destination name will be set to that of the receiving server itself. Each embedded PDU in the transaction body will be processed.
The sending server must wait and retry for a 200 OK response before sending a
transaction with a different txnId
to the receiving server.
Note that events have a different format depending on the room version - check the room version specification for precise event formats.
Request Body
{"edus"=>[{"value"=>"reference definitions/edu.yaml not found in the OpenAPI spec"}, {"value"=>"reference definitions/edu.yaml not found in the OpenAPI spec"}]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"pdus":{"$successful_event:example.org":{},"$failed_event:example.org":{"error":"You are not allowed to send a message to this room."}}}