srotya / sidewinder

Fast and scalable timeseries database
http://sidewinder.srotya.com
Apache License 2.0
25 stars 9 forks source link

Build REST compliant API #84

Open ambud opened 7 years ago

ambud commented 7 years ago

REST API needed to delete tags from Tag Index so that storage space can be freed up.

Currently the following APIs are supported:

    DELETE  /databases (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    GET     /databases (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    DELETE  /databases/{dbName} (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    GET     /databases/{dbName} (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    PUT     /databases/{dbName} (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    GET     /databases/{dbName}/check (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    DELETE  /databases/{dbName}/measurements/{measurementName} (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    GET     /databases/{dbName}/measurements/{measurementName} (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    PUT     /databases/{dbName}/measurements/{measurementName} (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    GET     /databases/{dbName}/measurements/{measurementName}/check (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    GET     /databases/{dbName}/measurements/{measurementName}/fields (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    GET     /databases/{dbName}/measurements/{measurementName}/fields/{value} (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    PUT     /databases/{dbName}/measurements/{measurementName}/series (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    GET     /databases/{dbName}/measurements/{measurementName}/series/count (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    PUT     /databases/{dbName}/measurements/{measurementName}/series/retention/{retentionPolicy} (com.srotya.sidewinder.core.api.MeasurementOpsApi)
    POST    /databases/{dbName}/query (com.srotya.sidewinder.core.api.DatabaseOpsApi)
    POST    /influx (com.srotya.sidewinder.core.api.InfluxApi)
    POST    /sql/database/{dbName} (com.srotya.sidewinder.core.api.SqlApi)