[one-users] XML-RPC API 2.0 host.delete return value
Łukasz Oleś
lukaszoles at gmail.com
Sat Nov 27 17:23:01 PST 2010
2010/11/26 Daniel Molina Aranda <danmolin at fdi.ucm.es>:
> Hi,
> You are right, there is a typo in the documentation, because when the call
> succeeds the second component of the array is not returned. The
> documentation should be:
> "OUT Boolean true or false whenever is successful or not
> OUT String if an error occurs this is error message, otherwise it does
> not exist."
> instead of,
> "OUT Boolean true or false whenever is successful or not
> OUT String if an error occurs this is error message, otherwise it is
> null."
> We have already modified it in the documentation [1]
Great, thanks for the clarification
> BTW, we are thinking about modifying it to return null, so that all the
> calls return the same number of components in the array. But we would like
> to know the opinion of the community about this issue, specially those ones
> that are developing tools using this API. If the community aproves this
> change we can include it in the 2.2 release.
> Any comment or feedback would be appreciated.
I think it's good idea. It won't break current bindings so I do not
see any reasons against it.
--
Łukasz Oleś
More information about the Users
mailing list