BzAPI Compatibility API has been rolled out to production BMO

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, a separate proxy service called BzAPI 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 for the differences between BzAPI and the native API.

To ease the transition, we have created a native BzAPI compatibility layer (bug 880669) 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, which is slightly different from the native one.

For example, change from https://api-dev.bugzilla.mozilla.org/latest/bug/35 to https://bugzilla.mozilla.org/bzapi/bug/35

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 in Bugzilla under the BMO product that we would like people to use to let us know. You can also browse 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.

Thanks
Mozilla BMO Team

About these ads

About dlawrence

Currently I work mostly on Bugzilla for the Mozilla Corporation and before that I worked for many years for Red Hat, Inc. I love playing with new technologies such as Linux, mobile devices, as well as constantly trying to improve my novice programming skills.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: