I have designed an API to query multiple rows in a data base between dates in epoch time:
&fromDate=1644192000000&toDate=1744364800000&responseType=JSON
The records are usually generated every hour. However, sometimes there are no records for the first period just after the fromDate or in the middle of the date range. Should my API return return empty records for the missing or only return the ones with valid data?