vesoft-inc / nebula

A distributed, fast open-source graph database featuring horizontal scalability and high availability
https://nebula-graph.io
Apache License 2.0
10.8k stars 1.2k forks source link

Make the backend service HTTP APIs confirm to RESTful specification #1091

Open yixinglu opened 5 years ago

yixinglu commented 5 years ago

for example: fetch and update flags of storage:

# get all flags of storage service
GET https://ip:port/storage/flags

# get flag with name filter
GET https://ip:port/storage/flags?name=num_workers

# update flags of storage service
POST https://ip:port/storage/flags?num_workers=4&&load_data_interval_secs=10
doublex commented 5 years ago

+1 /src/client has tons of dependencies. A restful client interface would help a lot.

doublex commented 5 years ago

http2 restful API would be multiplexed - and support any programming language.