[one-users] API method for getting all hosts info

William Voorsluys williamvoor at gmail.com
Wed Aug 6 00:18:28 PDT 2008


Hello,

I'm in need for a new method in ONE's XML-RPC API, which would return
information about all hosts added to ONE.
I'm writing a code that needs to retrieve all hosts without knowing
hosts ids in advance. To solve this requirement, one could consider
two approaches: either to create a method that would return full
information about all nodes in a single call or to create a method
that would only return a list of host ids. In the later case, full
information about all hosts would be obtained by successively calling
'one.hostinfo'.
Is this viable? Or is there any other preferable way of getting that
information?

Thanks,

William.



More information about the Users mailing list