ArangoDB v2.8 reached End of Life (EOL) and is no longer supported.
This documentation is outdated. Please see the most recent version here: Try latest
Other Replication Commands
Return server id
fetch this servers uniq identifier
GET /_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.
Return codes
-
200: is returned if the request was executed successfully.
-
405: is returned when an invalid HTTP method is used.
-
500: is returned if an error occurred while assembling the response.
Examples
shell> curl --dump - http://localhost:8529/_api/replication/server-id
HTTP/1.1 200 OK
content-type: application/json; charset=utf-8
{
"serverId" : "160423210519972"
}