add some more docs for findClips

This commit is contained in:
j 2012-06-26 13:59:27 +02:00
parent 3fca65e86b
commit 8b082023e9
2 changed files with 26 additions and 5 deletions

View file

@ -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': {

View file

@ -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 {