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 time range.
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
startandendare included, the request will use the last 100 values of each variable.- If only
startis sent, it will include values from that timestamp up until current date.- If only
endis sent, it will includes values from the beginning of data reception up until that timestamp.- If the
precisionkey is not defined, decimal numbers will be displayed according to the calculation.
