summary refs log tree commit diff
path: root/synapse/replication/http/profile.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-09 10:41:08 +0100
committerErik Johnston <erik@matrix.org>2018-08-09 10:41:08 +0100
commita6c813761aa38d9ea0ff6db7303b25dfc7b77712 (patch)
tree93abbee09fc175f57fbd8f49c145ecf3ee1ed828 /synapse/replication/http/profile.py
parentNewsfile (diff)
downloadsynapse-a6c813761aa38d9ea0ff6db7303b25dfc7b77712.tar.xz
Docstrings
Diffstat (limited to 'synapse/replication/http/profile.py')
-rw-r--r--synapse/replication/http/profile.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/synapse/replication/http/profile.py b/synapse/replication/http/profile.py
index c4d54c936f..aa700c2434 100644
--- a/synapse/replication/http/profile.py
+++ b/synapse/replication/http/profile.py
@@ -25,9 +25,19 @@ logger = logging.getLogger(__name__)
 
 
 class ReplicationHandleProfileChangeRestServlet(ReplicationEndpoint):
+    """Notifies that a users profile has changed
+
+    Request format:
+
+        POST /_synapse/replication/profile_changed/:user_id
+
+        {
+            "requester": ...
+        }
+    """
+
     NAME = "profile_changed"
     PATH_ARGS = ("user_id",)
-    POST = True
 
     def __init__(self, hs):
         super(ReplicationHandleProfileChangeRestServlet, self).__init__(hs)