From a2082e4b381dfee4ef75f08ccf71eb070c92c9b2 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 11 Dec 2015 10:53:22 +0000 Subject: [PATCH 1/3] Note that count is approximate --- api/client-server/search.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/client-server/search.yaml b/api/client-server/search.yaml index 60329ce5..64aca450 100644 --- a/api/client-server/search.yaml +++ b/api/client-server/search.yaml @@ -157,7 +157,7 @@ paths: properties: count: type: number - description: Total number of results found + description: An approximate count of number of results found. results: type: array title: Results @@ -298,7 +298,7 @@ paths: } }, "next_batch": "5FdgFsd234dfgsdfFD", - "count": 24, + "count": 1224, "results": [ { "rank": 0.00424866, From 88b350ca8b7eb4a57109fd2da31f491b45a5f236 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Fri, 11 Dec 2015 11:41:51 +0000 Subject: [PATCH 2/3] Better wording --- api/client-server/search.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client-server/search.yaml b/api/client-server/search.yaml index 64aca450..0bf7ffd9 100644 --- a/api/client-server/search.yaml +++ b/api/client-server/search.yaml @@ -157,7 +157,7 @@ paths: properties: count: type: number - description: An approximate count of number of results found. + description: An approximate count of the total number of results found. results: type: array title: Results From 7090e491ded40f9dce8f08779f4926c2fbeec4c2 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Fri, 11 Dec 2015 08:10:29 -0800 Subject: [PATCH 3/3] fix a typo in the example json for the old sync description --- api/client-server/old_sync.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/client-server/old_sync.yaml b/api/client-server/old_sync.yaml index fafcb825..2e2a629e 100644 --- a/api/client-server/old_sync.yaml +++ b/api/client-server/old_sync.yaml @@ -394,7 +394,7 @@ paths: "body": "Hello world!", "msgtype": "m.text" }, - "room_id:": "!wfgy43Sg4a:matrix.org", + "room_id": "!wfgy43Sg4a:matrix.org", "sender": "@bob:matrix.org", "event_id": "$asfDuShaf7Gafaw:matrix.org", "type": "m.room.message"