The result reaction is used to retrieve the current result set, or the result set at a given timestamp.
To retrieve the current result set, send a GET request to the endpoint /{query_id}, where query_id is the query you are interested in.
For example:
curl -X GET "localhost:8080/hello-world-from"
To retrieve the result set at a given timestamp, send a GET request to the endpoint /{query_id}/{timestamp}, where query_id is the query you are interested in, and timestamp is the timestamp you are interested in. (This requires the retentionPolicy of the continuous query to be set to all or expire
For example:
curl -X GET "localhost:8080/hello-world-from/123456789"
Description
The result reaction is used to retrieve the current result set, or the result set at a given timestamp.
To retrieve the current result set, send a GET request to the endpoint
/{query_id}
, wherequery_id
is the query you are interested in.For example:
To retrieve the result set at a given timestamp, send a GET request to the endpoint
/{query_id}/{timestamp}
, wherequery_id
is the query you are interested in, andtimestamp
is the timestamp you are interested in. (This requires the retentionPolicy of the continuous query to be set toall
orexpire
For example:Sample output can be found here: https://gist.github.com/ruokun-niu/f5be829bdc6c82e332e99725c923a5e2
Type of change
Fixes: #issue_number