post
https://industrial.api.ubidots.com/api/v1.6/data/stats/resample/
This endpoint allows you to resample data from one or multiple variables in a range of time.
Period parameterAvailable resample periods are:
- "nT": Every n minutes.
- "nH": Every n hours.
- "nD": Every n days.
- "W": Every end of week.
- "M": Every end of month.
Optional parameters
- If neither
startnorendare included, the request will use the last 100 values of each variable.- If only
startis sent, values from that timestamp up to the current date are included.- If only
endis sent, values from the beginning of data collection up to that timestamp are included.- If the
precisionparameter is not defined, the number of displayed decimal places will depend on the calculation.
