Until recently, Bugzilla supported only older Web technologies, namely XMLRPC and JSONRPC. The BMO team created a new REST API
in the summer of 2013 to provide a modern Web interface to Bugzilla.
Prior to the native REST API[1], a separate proxy service called BzAPI[2] was created that provided a REST API using data
obtained through the older RPC interfaces as well as various other Bugzilla data sources, including CSV representations. This
was a great interim solution, but now that we have a native API, and since the system hosting the proxy is not maintained by
Mozilla IT, the BzAPI service will need to be decommissioned at some point. Check out the wiki page[3] for the differences
between BzAPI and the native API.
To ease the transition, we have created a native BzAPI compatibility layer (bug 880669[4]) that acts almost exactly the same
as BzAPI but will translate the queries to the native API layer. Thus clients who currently use BzAPI will just need to change
the REST URL to the built-in API[5], which is slightly different from the native one[6].
Even though we've done our own testing, we are interested in having more people test the compat API by changing their
dashboards, scripts, apps, etc. to point to the compat API URL instead of the BzAPI proxy. Then try to see if anything doesn't
display properly, is missing, or generates an error of some kind. We have a component[7] in Bugzilla under the BMO product that
we would like people to use to let us know. You can also browse[8] for bugs that have already been submitted.
We plan to leave the compat API in place for the foreseeable future, but we do not plan to make any major changes or
enhancements to it. We will be working to enhance the native REST API instead with the upstream Bugzilla community. So any
requests for improvements or new features will need to be directed the native API component[9].
Thanks
Mozilla BMO Team
[1]
https://wiki.mozilla.org/BMO/REST
[2]
https://wiki.mozilla.org/Bugzilla:REST_API
[3]
https://wiki.mozilla.org/Bugzilla:API_Comparison
[4]
https://bugzilla.mozilla.org/show_bug.cgi?id=880669
[5]
https://bugzilla.mozilla.org/bzapi
[6]
https://bugzilla.mozilla.org/rest
[7]
https://bugzilla.mozilla.org/enter_bug.cgi?product=bugzilla.mozilla.org&component=Extensions%3A%20BzAPI%20Compatibility
[8]
https://bugzilla.mozilla.org/buglist.cgi?product=bugzilla.mozilla.org&component=Extensions%3A%20BzAPI%20Compatibility
[9]
https://bugzilla.mozilla.org/enter_bug.cgi?product=Bugzilla&component=WebService