eKuiper provides a set of REST API for streams and rules management in addition to CLI.
By default, the REST API are running in port 9081. You can change the port in /etc/kuiper.yaml
for the restPort
property.
This API is used to get the version number, system type, and program running time.
GET http://localhost:9081
{
"version": "1.0.1-22-g119ee91",
"os": "darwin",
"upTimeSeconds": 14
}
GET http://localhost:9081/ping