itemQuery
This commit is contained in:
parent
ac722f160c
commit
7081cd7544
4 changed files with 34 additions and 3 deletions
|
|
@ -96,6 +96,9 @@ def findEvents(request):
|
|||
|
||||
query: query object, more on query syntax at
|
||||
https://wiki.0x2620.org/wiki/pandora/QuerySyntax
|
||||
itemQuery: {
|
||||
//see find request
|
||||
},
|
||||
sort: array of key, operator dics
|
||||
[
|
||||
{
|
||||
|
|
@ -109,6 +112,8 @@ def findEvents(request):
|
|||
]
|
||||
range: result range, array [from, to]
|
||||
|
||||
itemQuery can be used to limit the resuts to matches in those items.
|
||||
|
||||
with keys, items is list of dicts with requested properties:
|
||||
return {'status': {'code': int, 'text': string},
|
||||
'data': {items: array}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue