Skip to content

Rest api

johnchronis edited this page Dec 8, 2015 · 17 revisions

You can use a http requests to request the execution plan from exareme or submit queries

Exareme on its default settings listen on port 9090.

Content Type should be application/x-www-form-uriencoded

The request contains a form with the following values:

-- db: path to db

-- query: query or queries

With the following request you can get the execution query plan:

URL: http://localhost:9090/query/

With the following request you can submit queries:

URL: http://localhost:9090/explain/

-- mode: json or viz

(viz return a html page that shows a graphic representation of the execution plan, same colors represent same workers)

Clone this wiki locally