From 9da8f135182674736a9cb81bd65b3d674c3902ae Mon Sep 17 00:00:00 2001 From: JTBrinkmann Date: Wed, 17 Jun 2015 13:52:35 +0200 Subject: [PATCH 1/2] updated & improved GET /rooms and added GET /rooms/favorites --- protocol.html | 62 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/protocol.html b/protocol.html index d8d43d1..cde5f25 100644 --- a/protocol.html +++ b/protocol.html @@ -603,11 +603,16 @@

GET rooms?q=$1&page=$2&limit=$3

+Search for communities.
+If no Search query is given: List all rooms (sorted by population).
+NSFW communities are listed despite the the user's "nsfw" setting (to be filtered client-side).
+The search includes the communities' names, their host's name and the music played in that community in the past. See http://tech.plug.dj/2015/06/09/search-advances/ for more info.
+The attribute defaults to null, but large rooms seem to have 5000.

Request variables

Response payload

@@ -618,15 +623,16 @@

Root object.