summary refs log tree commit diff
path: root/docs/client-server
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2014-09-02 12:09:47 +0100
committerKegan Dougal <kegan@matrix.org>2014-09-02 12:09:47 +0100
commit4ac80b85705cd1090b1e6e4e574c65f46744bfe2 (patch)
tree0d1a3bcd547400d2220bc6bdcd5b1dc31ef7e844 /docs/client-server
parentUpdated API docs with new keys on /createRoom and new API /rooms/$roomid/ban (diff)
downloadsynapse-4ac80b85705cd1090b1e6e4e574c65f46744bfe2.tar.xz
Whoops: Put /events parameters object in the right part of the api tree.
Diffstat (limited to 'docs/client-server')
-rw-r--r--docs/client-server/swagger_matrix/api-docs-events35
1 files changed, 18 insertions, 17 deletions
diff --git a/docs/client-server/swagger_matrix/api-docs-events b/docs/client-server/swagger_matrix/api-docs-events
index d22c68cc78..e5dd3a6113 100644
--- a/docs/client-server/swagger_matrix/api-docs-events
+++ b/docs/client-server/swagger_matrix/api-docs-events
@@ -15,25 +15,26 @@
           "summary": "Listen on the event stream",
           "notes": "This can only be done by the logged in user. This will block until an event is received, or until the timeout is reached.",
           "type": "PaginationChunk",
-          "nickname": "get_event_stream"
-        }
-      ],
-      "parameters": [
-        {
-          "name": "from",
-          "description": "The token to stream from.",
-          "required": false,
-          "type": "string",
-          "paramType": "query"
-        },
-        {
-          "name": "timeout",
-          "description": "The maximum time in milliseconds to wait for an event.",
-          "required": false,
-          "type": "integer",
-          "paramType": "query"
+          "nickname": "get_event_stream",
+          "parameters": [
+            {
+              "name": "from",
+              "description": "The token to stream from.",
+              "required": false,
+              "type": "string",
+              "paramType": "query"
+            },
+            {
+              "name": "timeout",
+              "description": "The maximum time in milliseconds to wait for an event.",
+              "required": false,
+              "type": "integer",
+              "paramType": "query"
+            }
+          ]
         }
       ],
+      
       "responseMessages": [
         {
           "code": 400,