forked from python-bugzilla/python-bugzilla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xmlrpc-api-notes.txt
122 lines (103 loc) · 3.44 KB
/
xmlrpc-api-notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
Fedora infrastructure depends on python-bugzilla in various ways:
http://lists.fedorahosted.org/pipermail/python-bugzilla/2012-June/000001.html
Red Hat bugzilla originally had a totally custom API. Much of that is
being dropped in 2013, API conversions outlined here:
https://bugzilla.redhat.com/show_bug.cgi?id=822007
Externally facing RH bugzilla instance that doesn't send email and is
refreshed periodically. This is what is used in the functional test suite:
http://partner-bugzilla.redhat.com
Some trackers in the wild to use for API testing:
bugzilla.redhat.com
bugzilla.mozilla.org
bugzilla.kernel.org
bugzilla.gnome.org
bugs.freedesktop.org
bugzilla.novell.com
bugzilla.zimbra.com
bugzilla.samba.org
bugs.gentoo.org
Upstream timeline
=================
Here's a timeline of the evolution of the upstream bugzilla XMLRPC API:
Bugzilla 2.*:
No XMLRPC API that I can tell
Bugzilla 3.0:
http://www.bugzilla.org/docs/3.0/html/api/index.html
Bug.legal_values
Bug.get_bugs:
returns: id, alias, summary, creation_time, last_change_time
Bug.create
Bugzilla.version
Bugzilla.timezone
Product.get_selectable_products
Product.get_enterable_products
Product.get_accessible_products
Product.get_products
User.login
User.logout
User.offer_account_by_email
User.create
Bugzilla 3.2:
http://www.bugzilla.org/docs/3.2/en/html/api/
Bug: RENAME: get_bugs->get, get_bugs should still work
Bug.add_comment
Bugzilla.extensions
Product: RENAME: get_products->get, get_products should still work
Bugzilla 3.4:
http://www.bugzilla.org/docs/3.4/en/html/api/
Bug.comments
Bug.history
Bug.search
Bug.update_see_also
Bugzilla.time
Bugzilla: DEPRECATED: timezone, use time instead
User.get
Util.filter_fields
Util.validate
Bugzilla 3.6:
http://www.bugzilla.org/docs/3.6/en/html/api/
Bug.attachments
Bug.fields
Bug: DEPRECATED: legal_values
Bugzilla: timezone now always returns UTC+0000
Bugzilla 4.0:
http://www.bugzilla.org/docs/4.0/en/html/api/
Bug.add_attachment
Bug.update
Util.filter_wants
Bugzilla 4.2:
http://www.bugzilla.org/docs/4.2/en/html/api/
Group.create
Product.create
Bugzilla 4.4:
http://www.bugzilla.org/docs/4.4/en/html/api/
Bug.update_tags
Bugzilla.parameters
Bugzilla.last_audit_time
Classification.get
Group.update
Product.update
User.update
Util.translate
Util.params_to_objects
Bugzilla 5.0: (July 2015)
https://www.bugzilla.org/docs/5.0/en/html/integrating/api/index.html
Bug.update_attachment
Bug.search/update_comment_tags
Bug.search:
search() now supports --from-url style, like rhbz before it
search() now supports quicksearch
Bug.update:
update() alias is now a hash of add/remove/set, but has back compat
update() can take 'flags' config now
Component (new, or newly documented?)
Component.create
User.valid_login
Bugzilla latest/tip:
https://bugzilla.readthedocs.io/en/latest/api/index.html
Redhat Bugzilla: 4.4 based with extensions. Bits on top of 4.4
https://bugzilla.redhat.com/docs/en/html/api/
Bug.search has --from-url extension
Bug.update has more hashing support
extra_fields for fetching comments, attachments, etc at Bug.get time
ExternalBugs extension: https://bugzilla.redhat.com/docs/en/html/api/extensions/ExternalBugs/lib/WebService.html