diff --git a/docs/source/using_the_koji_build_system.rst b/docs/source/using_the_koji_build_system.rst index c46815be..e4f022d5 100644 --- a/docs/source/using_the_koji_build_system.rst +++ b/docs/source/using_the_koji_build_system.rst @@ -644,3 +644,41 @@ to the xmlrpc standard: from Apache's `ws-xmlrpc ` implementation. Python's own xmlrpc library understands this tag, even thought it will not emit it. + * For encoding python-like optional arguments (``**kwargs``) we introduced + dictionary in xmlrpc request called ``__starstar``. It is marked by + member boolean variable ``__starstar = True``. + +So, full example of XML document for hypothetical call ``Method("a", token=1, +null_value=None, large=10**10)`` would look like: + +.. code-block:: xml + + + + Method + + + first_string + + + + + token + 1 + + + null_value + + + + large + 10000000000 + + + __starstar + 1 + + + + + diff --git a/www/kojiweb/api.chtml b/www/kojiweb/api.chtml index ea2fb3c8..6e871926 100644 --- a/www/kojiweb/api.chtml +++ b/www/kojiweb/api.chtml @@ -6,6 +6,8 @@ Various constants used in API calls can be found in first part of koji module. Exceptions which can be raised in python client are just after constants section. +More details about XMLRPC interface are documented +here. Basic anonymous client in python would look like this: