Arango v0.0.1 Arangoex.Administration

ArangoDB Administration methods

Summary

Functions

Return the required version of the database

Return list of all endpoints

Read global logs from the server

Return current request and continues

Reloads the routing information

Return id of a server in a cluster

Return role of a server in a cluster

Initiate shutdown sequence

Sleep for a specified amount of seconds

Read the statistics

Statistics description

Runs tests on server

Return system time

Return server version

Functions

database_version(endpoint)
database_version(Arangoex.Endpoint.t) :: Arangoex.ok_error(map)

Return the required version of the database

GET /_admin/database/target-version

echo(endpoint, query_opts \\ [], header_opts \\ [])

Return current request

GET /_admin/echo

endpoints(endpoint)

Return list of all endpoints

GET /_api/endpoint

execute(endpoint, code, opts \\ [])
execute(Arangoex.Endpoint.t, String.t, keyword) :: Arangoex.ok_error(map)

Execute program

POST /_admin/execute

log(endpoint, opts \\ [])

Read global logs from the server

GET /_admin/log

long_echo(endpoint, query_opts \\ [], header_opts \\ [])

Return current request and continues

GET /_admin/long_echo

reload_routing(endpoint)
reload_routing(Arangoex.Endpoint.t) :: Arangoex.ok_error(map)

Reloads the routing information

POST /_admin/routing/reload

server_id(endpoint)

Return id of a server in a cluster

GET /_admin/server/id

server_role(endpoint)
server_role(Arangoex.Endpoint.t) :: Arangoex.ok_error(map)

Return role of a server in a cluster

GET /_admin/server/role

shutdown(endpoint)

Initiate shutdown sequence

DELETE /_admin/shutdown

sleep(endpoint, opts \\ [])
sleep(Arangoex.Endpoint.t, keyword) :: Arangoex.ok_error(map)

Sleep for a specified amount of seconds

GET /_admin/sleep

statistics(endpoint)

Read the statistics

GET /_admin/statistics

statistics_description(endpoint)
statistics_description(Arangoex.Endpoint.t) :: Arangoex.ok_error(map)

Statistics description

GET /_admin/statistics-description

test(endpoint)

Runs tests on server

POST /_admin/test

time(endpoint)

Return system time

GET /_admin/time

version(endpoint)

Return server version

GET /_api/version