From 3a5454a2e52d266ab0ce5c4aee0168357ff66906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Wed, 23 Nov 2011 13:49:04 +0100 Subject: [PATCH] Add missing doc for xmlrpc schema --- doc/xmlrpc.txt | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/xmlrpc.txt b/doc/xmlrpc.txt index e035372..fa6deaa 100644 --- a/doc/xmlrpc.txt +++ b/doc/xmlrpc.txt @@ -39,6 +39,10 @@ to authenticate the request against the tracker. ======= ==================================================================== Command Description ======= ==================================================================== +schema + + Fetch tracker schema. + list arguments: *classname, [property_name]* List all elements of a given ``classname``. If ``property_name`` is @@ -85,6 +89,8 @@ sample python client >>> import xmlrpclib >>> roundup_server = xmlrpclib.ServerProxy('http://username:password@localhost:8000', allow_none=True) + >>> roundup_server.schema() + {'user': [['username', ''], ...], 'issue': [...]} >>> roundup_server.list('user') ['admin', 'anonymous', 'demo'] >>> roundup_server.list('issue', 'id') -- 1.7.6