mirror of https://gitee.com/bigwinds/arangodb
parent
3e7425a392
commit
a81201e460
|
@ -5,13 +5,16 @@
|
||||||
@RESTHEADER{GET /_admin/server/id, Return id of a server in a cluster}
|
@RESTHEADER{GET /_admin/server/id, Return id of a server in a cluster}
|
||||||
|
|
||||||
@RESTDESCRIPTION
|
@RESTDESCRIPTION
|
||||||
|
Returns the id of a server in a cluster. The request will fail if the
|
||||||
Returns the id of a server in a cluster.
|
server is not running in cluster mode.
|
||||||
The id is empty if it is working in single server mode.
|
|
||||||
|
|
||||||
@RESTRETURNCODES
|
@RESTRETURNCODES
|
||||||
|
|
||||||
@RESTRETURNCODE{200}
|
@RESTRETURNCODE{200}
|
||||||
Is returned in all cases.
|
Is returned in when the server is running in cluster mode.
|
||||||
|
@endDocuBlock
|
||||||
|
|
||||||
|
@RESTRETURNCODE{500}
|
||||||
|
Is returned when the server is not running in cluster mode.
|
||||||
@endDocuBlock
|
@endDocuBlock
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue