delete range

delete
/range/t1/t2

http://localhost:8000/ts/:id/range/:t1/:t2/filter/:name/:compare/:value/:aggregate
This endpoint allows you delete values from a time series within a specific range.
Request
Response
Request
Path Parameters
id
required
string
id of time series (can contain comma separated list of ids)
t1
required
number
time in microseconds
t2
required
number
time in microseconds
name
optional
string
tag name (can contain comma separated list of names)
compare
optional
string
equality function (equals or contains)
value
optional
string
tag value (can contain comma separated list of values)
aggegrate
optional
string
aggregation function (can contain count, sum, min, max, mean, median or sd)S{ "name": "Cake's name", "recipe": "Cake's recipe name", "cake": "Binary cake"}
Response
200: OK
JSON response
Examples
Examples
curl -X DELETE http://localhost:8000/ts/sensor1/range/1545235536095244/1845235536095244
curl -X DELETE http://localhost:8000/ts/sensor1,sensor2/range/1545235536095244/1845235536095244/sum
curl -X DELETE http://localhost:8000/ts/sensor1/range/154523/184523/filter/serial,location/equals/A001,UK
curl -X DELETE http://localhost:8000/ts/sensor1/range/154523553/184523553/filter/serial/equals/A001/max