Skip to content

Commit 336aaa8

Browse files
committed
Add timestamp range filter for test request
1 parent d50e275 commit 336aaa8

File tree

1 file changed

+9
-21
lines changed

1 file changed

+9
-21
lines changed

v2/v2-query-requests.http

Lines changed: 9 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -53,28 +53,16 @@ POST {{host}}/getEvents
5353
Accept: application/json
5454

5555
{
56-
"filters": {
57-
"logType": "0"
58-
},
59-
"exclude": {
60-
"source": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID"
61-
},
62-
"should": [
63-
{
64-
"terms": {
65-
"source": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID",
66-
"destination": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID"
67-
}
68-
}
69-
],
70-
"ranges": {
71-
"amount": {
72-
"gt": "10000000000"
56+
"filters": { "logType": "0" },
57+
"exclude": { "source": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID" },
58+
"should": [{
59+
"terms": {
60+
"source": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID",
61+
"destination": "BAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAARMID"
7362
}
74-
},
75-
"pagination": {
76-
"size": 1
77-
}
63+
}],
64+
"ranges": { "timestamp":{"gte":"1772975950000"}, "amount": { "gt": "1" } },
65+
"pagination": { "size": 10 }
7866
}
7967

8068
###

0 commit comments

Comments
 (0)