Durango v0.1.3 Durango.Api.Admin View Source

Source for paths, methods, and descriptions is “Support -> Rest API” tab of ArangoDB web ui.

Link to this section Summary

Functions

PUT /_admin/log/level

Modify and return the current server loglevel

POST /_api/tasks Creates a task

PUT /_api/tasks/{id} Creates a task with id

DELETE /_api/tasks/{id} Deletes the task with id

GET /_admin/echo Return current request

GET /_api/engine Return server database engine type

POST /_admin/execute Execute program

GET /_api/tasks/{id} Fetch one task with id

GET /_api/cluster/endpoints Get information about all coordinator endpoints

GET /_api/endpoint Return list of all endpoints

GET /_api/tasks/

Fetch all tasks or one task

GET /_admin/log/level Return the current server loglevel

GET /_admin/log Read global logs from the server

GET /_admin/long_echo Return current request and continues

POST /_admin/routing/reload Reloads the routing information

POST /_admin/test Runs tests on server

GET /_admin/server/id Return id of a server in a cluster

GET /_admin/server/role Return role of a server in a cluster

DELETE /_admin/shutdown Initiate shutdown sequence

GET /_admin/statistics Read the statistics

GET /_admin/statistics-description Statistics description

GET /_admin/database/target-version Return the required version of the database

GET /_admin/time Return system time

GET /_api/version Return server version

Link to this section Functions

Link to this function change_log_level(repo, levels) View Source

PUT /_admin/log/level

Modify and return the current server loglevel

POST /_api/tasks Creates a task

Link to this function create_task(repo, task, id) View Source

PUT /_api/tasks/{id} Creates a task with id

DELETE /_api/tasks/{id} Deletes the task with id

GET /_admin/echo Return current request

GET /_api/engine Return server database engine type

POST /_admin/execute Execute program

This endpoint only works if the server has set --javascript.allow-admin-execute true configured. Otherwise it errors with a 404.

This is a dangerous endpoint because it could evaluate user-defined code.

The official docs recommend leaving this endpoint disabled in production.

GET /_api/tasks/{id} Fetch one task with id

Link to this function list_cluster_endpoints(repo) View Source

GET /_api/cluster/endpoints Get information about all coordinator endpoints

GET /_api/endpoint Return list of all endpoints

GET /_api/tasks/

Fetch all tasks or one task

GET /_admin/log/level Return the current server loglevel

GET /_admin/log Read global logs from the server

GET /_admin/long_echo Return current request and continues

POST /_admin/routing/reload Reloads the routing information

POST /_admin/test Runs tests on server

GET /_admin/server/id Return id of a server in a cluster

GET /_admin/server/role Return role of a server in a cluster

DELETE /_admin/shutdown Initiate shutdown sequence

GET /_admin/statistics Read the statistics

Link to this function statistics_description(repo) View Source

GET /_admin/statistics-description Statistics description

GET /_admin/database/target-version Return the required version of the database

GET /_admin/time Return system time

GET /_api/version Return server version