Get host that is serving a certain Spice port

Sometimes, the flexVDI Gateway needs to know which Host is serving a VM on a certain Spice port.

Format

MethodGET
URL

/hosts/forport/$PORT

Request contentsNone
Successful answerHostResult Object
Unexpected errorHTTP 500

HostResult Object

Schema

statusString"OK"
messageStringHost's IP address if found, or "" otherwise

JSON example

{
    "status": "OK",
    "message": "10.111.9.20"
}