From 0dd956e231494e46e41f8870cb5c13b98a41d9fa Mon Sep 17 00:00:00 2001 From: rolux Date: Sun, 21 Dec 2014 11:34:41 +0000 Subject: [PATCH] update api docs ('my groups' query) --- pandora/item/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pandora/item/views.py b/pandora/item/views.py index b51b60f59..6d043e263 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -160,6 +160,8 @@ def find(request, data): notes: Comparison operators are '=' (contains) '==' (is), '^' (starts with), '$' (ends with), '<', '<=', '>', or '>=', each optionally prefixed with '!' (not). + To make a query for "all videos in groups that the user is in", pass + "groups" as key and "$my" as value. Leaving out `keys` or passing `positions` can be useful when building a responsive UI: First leave out `keys` to get totals as fast as possible, then pass `positions` to get the positions of previously selected items,