This CloudNet v4 module allows to get and control certain components of a cluster via a rest interface (for example services, tasks, groups, templates, service/node logs, etcetera).
The module can be installed from the console of your running ClouNet installation using modules install CloudNet-Rest
.
You can also download the jar from the latest release and
drop it into the modules
folder of your node installation. The latest nightly build (based on the current main branch)
can be downloaded here.
An openapi spec is bundled in the final jar and visualized at http://<your-rest-endpoint>/api/v3/documentation
(the
spec can be downloaded from there too). A permanent visualization of the latest documentation can be
found here.
To compile this project you need JDK 21 and an internet connection. Then clone this repository and run ./gradlew build
inside the cloned project.