diff options
author | Kegan Dougal <kegan@matrix.org> | 2014-09-02 12:09:47 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2014-09-02 12:09:47 +0100 |
commit | 4ac80b85705cd1090b1e6e4e574c65f46744bfe2 (patch) | |
tree | 0d1a3bcd547400d2220bc6bdcd5b1dc31ef7e844 /docs/client-server/swagger_matrix | |
parent | Updated API docs with new keys on /createRoom and new API /rooms/$roomid/ban (diff) | |
download | synapse-4ac80b85705cd1090b1e6e4e574c65f46744bfe2.tar.xz |
Whoops: Put /events parameters object in the right part of the api tree.
Diffstat (limited to 'docs/client-server/swagger_matrix')
-rw-r--r-- | docs/client-server/swagger_matrix/api-docs-events | 35 |
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, |