diff --git a/pandora/annotation/views.py b/pandora/annotation/views.py index 38dfba126..51d70a6ce 100644 --- a/pandora/annotation/views.py +++ b/pandora/annotation/views.py @@ -67,10 +67,20 @@ def order_query(qs, sort): def findAnnotations(request): ''' param data { - query: ... - itemsQuery: ... + query: { + conditions: [], + operator: '&' + }, + itemsQuery: { + conditions: [], + operator: '&' + }, + keys: [], + position: int, + positions: [], + range: [in, out], + sort: [] } - return { 'status': {'code': int, 'text': string} 'data': { diff --git a/pandora/clip/views.py b/pandora/clip/views.py index a39c96b50..0f2ae7bc6 100644 --- a/pandora/clip/views.py +++ b/pandora/clip/views.py @@ -74,8 +74,19 @@ def order_query(qs, sort): def findClips(request): ''' param data { - query: ... - itemsQuery: ... + query: { + conditions: [], + operator: '&' + }, + itemsQuery: { + conditions: [], + operator: '&' + }, + keys: [], + position: int, + positions: [], + range: [in, out], + sort: [] } return {