Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
/ws/v1/events/batch
will return null EventRecores if start argument can't fetch any record,
For example, if I specify start=268 which is larger than HighestID, the EventRecords is null, it seems to me returning an empty array might be better.
curl -L http://localhost:9889/ws/v1/events/batch\?start\=268\&count\=2 | jq
{ "InstanceUUID": "c3dd83f9-6546-4c63-b4cb-622cbb081aa3", "LowestID": 0, "HighestID": 267, "EventRecords": null }