From 4ac80b85705cd1090b1e6e4e574c65f46744bfe2 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Tue, 2 Sep 2014 12:09:47 +0100 Subject: Whoops: Put /events parameters object in the right part of the api tree. --- docs/client-server/swagger_matrix/api-docs-events | 35 ++++++++++++----------- 1 file changed, 18 insertions(+), 17 deletions(-) (limited to 'docs/client-server') 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, -- cgit 1.4.1