Versions Compared

Key

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

...

Configuration Article | CA-20220907-TP-62

VDG Sense | API | Functions | Servers & Devices

Image Added

View file
nameCA-20220907-TP-62.pdf

Table of Contents

Obtains a list of all servers and viewers connected to the server this request is send to.

Request

Code Block
command=getDivaList

Response

Code Block
<result errorcode="0">
  <divas count="[number]">
    <diva>
      <divaid>[UID]</divaid>
      <name>[string]</name>
      <type>[string]</type>
      <options>[string]</options>
      <status>[string]</status>
      <address>[number]</address>
      <macaddress>[string]</macaddress>
    </diva>
    ...
  </divas>
 </result>

node

value

remarks

/result

@errorcode

[number]

See error codes below

/result/divas

@count

[number]

The number of servers and viewers.

/result/divas/diva

divaid

[UID]

The unique id

name

[string]

The name or description

type

[string]

Returns 'Diva server' or 'Diva client'.

options

[string]

Comma separated list of options for this servers or viewers, like CarR, FaceR, XML etc.

status

[string]

Status of the server. Usually empty

address

[ip-address] 

The ip address of the server

macaddress

[string]

The mac address of the server

error code

description

remarks

0

Ok

Ok, no error

Changelog

  • 2.6.1 – added macaddress

  • 2.3.1   – added name

  • 1.10.2 – added