From a3aba62f290e7e269615ebe723ac2468e57ddb83 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 13 Jan 2011 17:36:05 +0530 Subject: [PATCH] docs --- pandora/item/views.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pandora/item/views.py b/pandora/item/views.py index a66e410eb..24cbdcf42 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -143,6 +143,14 @@ Positions query: query object, more on query syntax at https://wiki.0x2620.org/wiki/pandora/QuerySyntax ids: ids of items for which positions are required + return { + status: {...}, + data: { + positions: { + id: position + } + } + } ''' data = json.loads(request.POST['data']) if settings.JSON_DEBUG: