Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleINFO

The REST API allows you to configure, monitor, and operate Datameer

...

X 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.

Overview Table REST Commands

...

Info
iconfalse

 All JSON files and their formats from pervious versions of Datameer Xare backwards compatible to work with newer versions of Datameer.

REST API and JMX

...

You can also start Datameer Xwith the following parameters, causing the internal MBean server to start with Datameer.

Panel

<Datameer XApplication Folder>/bin/conductor.sh start --jmx

Open the JConsole with the following command:

Panel

# jconsole localhost:6789

...

You should see the Datameer XRestController as an MBean. You can then access the following operations:

No Format
readJobStatus
readJobHistory
readJobExecution
deleteJobExecutionData

...

As of Datameer X7.1.6

For enhanced security performance, users are not able authenticate a REST API call using session cookies. Datameer Xrecommends using basic authentication when using the REST API.

Example:

...