ArangoDB v3.10.5 HTTP API Documentation

All functionality of ArangoDB servers is provided via a RESTful API over the HTTP protocol, and you can call the API endpoints directly, via database drivers, or other tools

ArangoDB servers expose an application programming interface (API) for managing the database system. It is based on the HTTP protocol that powers the world wide web. All interactions with a server are ultimately carried out via this HTTP API.

You can use the API by sending HTTP requests to the server directly, but the more common way of communicating with the server is via a database driver. A driver abstracts the complexity of the API away by providing a simple interface for your programming language or environment and handling things like authentication, connection pooling, asynchronous requests, and multi-part replies in the background. You can also use ArangoDB’s web interface, the arangosh shell, or other tools.

The API documentation is relevant for you in the following cases:

  • You want to build or extend a driver.
  • You want to utilize a feature that isn’t exposed by your driver or tool.
  • You need to send many requests and avoid any overhead that a driver or tool might add.
  • You operate a server instance and need to perform administrative actions via the API.
  • You are interested in how the low-level communication works.

RESTful API

The API adheres to the design principles of REST (Representational State Transfer). A REST API is a specific type of HTTP API that uses HTTP methods to represent operations on resources (mainly GET, POST, PATCH, PUT, and DELETE), and resources are identified by URIs. A resource can be a database record, a server log, or any other data entity or object. The communication between client and server is stateless.

Swagger specification

ArangoDB’s RESTful HTTP API is documented using the industry-standard OpenAPI Specification, more specifically Swagger 2.0. You can explore the API with the interactive Swagger UI using the ArangoDB web interface.

  1. Click SUPPORT in the main navigation of the web interface.
  2. Click the Rest API tab.
  3. Click a section and endpoint to view the description and parameters.

The web interface with the navigation on the left and the tabs at the top

Also see this blog post: Using the ArangoDB Swagger.io Interactive API Documentation.