Get Server List method

Use the Get Server List method to receive an XML file that contains a list of registered servers.

HTTP method: GET

URI: /runtime

Request payload content type: None

Response payload content type: application/xml

Expected response: HTTP/1.1 200 OK

Response payload example

The following example shows a list of three servers with host names server1, server2, and server3.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:servers xmlns:ns2="http://www.ibm.com/optim/xsd/rr/9.1.0"> 
   <rsiURL>http://server1:12000/</rsiURL>
   <rsiURL>http://server2:12000/</rsiURL>
   <rsiURL>http://server3:12000/</rsiURL> 
</ns2:servers>

Response codes

The following response codes can be received when the method is complete.

Response code Description
200 OK. The server list was successfully returned.
400 Bad Request. A malformed request was submitted.
404 Not Found. No servers were found.


Feedback