From 807d44c410ffe8bcc9bed87a0347504e97acee84 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Mon, 12 Oct 2020 15:27:43 +0100 Subject: [PATCH] Add comment to repl /send_event API --- synapse/replication/http/send_event.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/synapse/replication/http/send_event.py b/synapse/replication/http/send_event.py index 36ba6b1c92..4876b78fec 100644 --- a/synapse/replication/http/send_event.py +++ b/synapse/replication/http/send_event.py @@ -46,6 +46,12 @@ class ReplicationSendEventRestServlet(ReplicationEndpoint): "ratelimit": true, "extra_users": [], } + + 200 OK + + { "stream_id": ..., "event_id": ... } + + The returned event ID may not match the sent event if it was deduplicated. """ NAME = "send_event"