ArangoDB2::Admin - ArangoDB admin API methods
GET /_admin/echo
Returns current request info.
POST /_admin/execute
Executes the javascript code in the body on the server.
Parameters:
program
GET /_admin/log
Returns the log files.
upto level start size offset search sort
When executing program set to true to get a JSON object result.
POST /_admin/routing/reload
Reloads the routing information from the collection routing.
GET /_admin/statistics
Returns the statistics information.
GET /_admin/statistics-description
Returns a description of the statistics returned by /_admin/statistics.
GET /_admin/server/role
Returns the role of a server in a cluster.
GET /_admin/shutdown
This call initiates a clean shutdown sequence.
POST /_admin/test
Executes the specified tests on the server and returns an object with the test results.
tests
GET /_admin/time
The call returns an object with the attribute time.
PUT /_admin/wal/flush
Flushes the write-ahead log.
waitForSync waitForCollector
GET /_admin/wal/properties PUT /_admin/wal/properties
Configures the behavior of the write-ahead log.
allowOversizeEntries logfileSize historicLogfiles reserveLogfiles throttleWait throttleWhenPending
Whether or not operations that are bigger than a single logfile can be executed and stored.
Returns all log entries of log level level. Note that the URL parameters upto and level are mutually exclusive.
The size of each write-ahead logfile.
The maximum number of historic logfiles to keep.
Starts to return log entries skipping the first offset log entries. offset and size can be used for pagination.
Code of javascript program to be executed.
The maximum number of reserve logfiles that ArangoDB allocates in the background.
Only return the log entries containing the text specified in search.
Restricts the result to at most size log entries.
Sort the log entries either ascending (if sort is asc) or descending (if sort is desc) according to their lid values. Note that the lid imposes a chronological order. The default value is asc.
Returns all log entries such that their log entry identifier (lid value) is greater or equal to start.
A list of files containing the test suites to run.
The maximum wait time that operations will wait before they get aborted if case of write-throttling (in milliseconds).
The number of unprocessed garbage-collection operations that, when reached, will activate write-throttling. A value of 0 means that write-throttling will not be triggered.
Returns all log entries up to log level upto. Note that upto must be:
fatal or 0 error or 1 warning or 2 info or 3 debug or 4
The default value is info.
Whether or not the operation should block until the data in the flushed log has been collected.
Whether or not the operation should block until the not-yet synchronized data in the write-ahead log was synchronized to disk.
Ersun Warncke, <ersun.warncke at outlook.com>
<ersun.warncke at outlook.com>
http://ersun.warnckes.com
Copyright (C) 2014 Ersun Warncke
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install ArangoDB2, copy and paste the appropriate command in to your terminal.
cpanm
cpanm ArangoDB2
CPAN shell
perl -MCPAN -e shell install ArangoDB2
For more information on module installation, please visit the detailed CPAN module installation guide.