ArangoDB v3.13 is under development and not released yet. This documentation is not final and potentially incomplete.

Other Replication Commands

Get the replication server ID

GET /_db/{database-name}/_api/replication/server-id

Returns the servers id. The id is also returned by other replication API methods, and this method is an easy means of determining a server’s id.

The body of the response is a JSON object with the attribute serverId. The server id is returned as a string.

Path Parameters
  • The name of the database.

Query Parameters
    HTTP Headers
      Responses
      • is returned if the request was executed successfully.

      • is returned when an invalid HTTP method is used.

      • is returned if an error occurred while assembling the response.

      Examples

      curl --header 'accept: application/json' --dump - http://localhost:8529/_api/replication/server-id
      Show output