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):
|
def findAnnotations(request):
|
||||||
'''
|
'''
|
||||||
param data {
|
param data {
|
||||||
query: ...
|
query: {
|
||||||
itemsQuery: ...
|
conditions: [],
|
||||||
|
operator: '&'
|
||||||
|
},
|
||||||
|
itemsQuery: {
|
||||||
|
conditions: [],
|
||||||
|
operator: '&'
|
||||||
|
},
|
||||||
|
keys: [],
|
||||||
|
position: int,
|
||||||
|
positions: [],
|
||||||
|
range: [in, out],
|
||||||
|
sort: []
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'status': {'code': int, 'text': string}
|
'status': {'code': int, 'text': string}
|
||||||
'data': {
|
'data': {
|
||||||
|
|
|
@ -74,8 +74,19 @@ def order_query(qs, sort):
|
||||||
def findClips(request):
|
def findClips(request):
|
||||||
'''
|
'''
|
||||||
param data {
|
param data {
|
||||||
query: ...
|
query: {
|
||||||
itemsQuery: ...
|
conditions: [],
|
||||||
|
operator: '&'
|
||||||
|
},
|
||||||
|
itemsQuery: {
|
||||||
|
conditions: [],
|
||||||
|
operator: '&'
|
||||||
|
},
|
||||||
|
keys: [],
|
||||||
|
position: int,
|
||||||
|
positions: [],
|
||||||
|
range: [in, out],
|
||||||
|
sort: []
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue