The REST API allows you to configure, monitor, and operate Datameer without using the web console. Instead, you can use command line tools (e.g., cURL or Wget) using HTTP protocol. The API can be used by scripts or with a monitoring tool. Requests are made using a URL and a command, and responses are returned in JSON format.
All JSON files and their formats from pervious versions of Datameer are backwards compatible to work with newer versions of Datameer. |
You can also start Datameer with the following parameters, causing the internal MBean server to start with Datameer.
|
Open the JConsole with the following command:
|
You should see the Datameer RestController as an MBean. You can then access the following operations:
readJobStatus readJobHistory readJobExecution deleteJobExecutionData |
As of Datameer 7.1.6
For enhanced security performance, users are not able authenticate a REST API call using session cookies. Datameer recommends using basic authentication when using the REST API.
Example:
curl -u <username>:<password>