Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration Article | CA-20220907-TP-63

VDG Sense | API | Functions | Servers & Devices

Image Added

PDF Download

Table of Contents

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

Code Block
command=getServerList

Response

Code Block
<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