Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Removed as of version 2
Deprecated as of 1.11.3, use getDivaList instead.

Obtains a list of all servers in a master slave configuration. The first entry will be of the master server, the server that handles the request.

Request

command=getServerList

Response

<result errorcode="0">
  <servers count="[number]">
    <server id="[UID]">[ip-address]</server>
    ...
  </servers>
 </result>

Tag

node

value

remarks

/result

@errorcode

[number]

See error codes below

/result/servers

@count

[number]

The number of servers

server 

[ip-address] 

The ip adress of the server

/result/servers/server

@id 

[UID]

 unique id of the server

error code

description

remarks

0

Ok

Ok, no error

-18

General error

An undefined error occured

Changelog

  • 2.1.1   – Removed

  • 1.11.3 – Deprecated, use getDivaList instead.

  • 1.4.1   – Added

  • No labels