Change parameters for REST API endpoints (date related)
-
Combine
from-block
,to-block
andstart-date
,end-date
into two parameters likestart
andend
. That parameter can takenumber
orDate
string as value. That way we'll reduce numbers of parameters and solve potential problems with priorities of ranges. -
Include
page-num
page-size
pagination on every endpoint with date ranges. Afterwards include the border value in the return.