You can use the Flux REST API to interact with a Flux Cluster using an HTTP interface. Complete documentation for the REST API (including input and output payload details for each API) is available in the directory /doc/restapidoc located under your Flux installation directory.
A REST Java client API is also available, allowing Java developers to utilize REST using standard Java development techniques. You can find complete Javadoc documentation for these APIs in the /doc/clusterapidoc directory in your Flux installation directory.
To use the REST Java client APIs, just add the file restaction.jar (included in the /lib directory under your Flux installation directory) to your Java class path, as well as the flux.jar file located in the Flux installation directory itself.
The example code below demonstrates how you might use the REST Java client APIs: