Hi,

we'd like to develop some restful APIs for:

1. native Grafana plugin (Grafana uses typescript language, so using
restful API is a solution)

2. other cross-language applications.

According to previous discussions (several months ago on the mailing list),
we will use Netty to implement the REST.

Now, I'd like to raise up a discussion about how to define the API,
especially for authentication. Is someone familiar with it? (Tianci had a
prototype and published it on postman [1]. But I think we still need to do
a lot, e.g., authentication.)

Some interfaces that will be included:
- authentication
- simple write data (write a record, with a  device,  a timestamp, a number
of  measurements)
- simple data query  (a number of Paths, raw data query or aggregation
query, time limit, size limit)
- down-sampling query, (a number of Paths, aggregation function,
downsampling time interval, fill function, time limit, size limit)
- any IoTDB SQL.

[1] https://documenter.getpostman.com/view/12320024/T1LLDnuj

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院

Reply via email to