summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-07-13 13:32:40 +0100
committerErik Johnston <erik@matrix.org>2017-07-13 13:52:41 +0100
commit8575e3160f98a0b33cd0ec6080389701dcb535e8 (patch)
treeefd5459e82607af2269908ce47249484c2495f43 /synapse/federation
parentRemove TODO (diff)
downloadsynapse-8575e3160f98a0b33cd0ec6080389701dcb535e8.tar.xz
Comments
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transport/server.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 1ea2b37ce8..304c2a2a4c 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -810,6 +810,8 @@ class FederationGroupsSummaryRoomsServlet(BaseFederationServlet):
 
 
 class FederationGroupsCategoriesServlet(BaseFederationServlet):
+    """Get all categories for a group
+    """
     PATH = (
         "/groups/(?P<group_id>[^/]*)/categories/$"
     )
@@ -828,6 +830,8 @@ class FederationGroupsCategoriesServlet(BaseFederationServlet):
 
 
 class FederationGroupsCategoryServlet(BaseFederationServlet):
+    """Add/remove/get a category in a group
+    """
     PATH = (
         "/groups/(?P<group_id>[^/]*)/categories/(?P<category_id>[^/]+)$"
     )
@@ -870,6 +874,8 @@ class FederationGroupsCategoryServlet(BaseFederationServlet):
 
 
 class FederationGroupsRolesServlet(BaseFederationServlet):
+    """Get roles in a group
+    """
     PATH = (
         "/groups/(?P<group_id>[^/]*)/roles/$"
     )
@@ -888,6 +894,8 @@ class FederationGroupsRolesServlet(BaseFederationServlet):
 
 
 class FederationGroupsRoleServlet(BaseFederationServlet):
+    """Add/remove/get a role in a group
+    """
     PATH = (
         "/groups/(?P<group_id>[^/]*)/roles/(?P<role_id>[^/]+)$"
     )