sample time series REST API for json and csv formats