forked from 0x2620/pandora
add some more docs for findClips
This commit is contained in:
parent
3fca65e86b
commit
8b082023e9
2 changed files with 26 additions and 5 deletions
|
@ -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': {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue