Bugzilla:REST API: Difference between revisions

m
no edit summary
(Undo revision 1101766 by Amckay (talk))
mNo edit summary
Line 1: Line 1:
<div style="border: thin dotted #aaa; padding:5px;">
<div style="border: thin dotted #aaa; padding:5px;">
'''This page documents the new native REST API scheduled for release in Bugzilla 5.0 and currently available on [https://bugzilla.mozilla.org/ bugzilla.mozilla.org].'''
'''This page documents the new native REST API available since Bugzilla 5.0 and currently available on [https://bugzilla.mozilla.org/ bugzilla.mozilla.org].'''


'''If you are running your own Bugzilla, version 4.4 (the current stable version) or below, you might be interested in an alternate solution, [[Bugzilla:BzAPI|BzAPI]]. This is separate server software that interfaces with Bugzilla and provides a similar interface to the new native REST API. BzAPI supports Bugzilla versions 3.4 and higher. BzAPI's documentation used to live here but [[Bugzilla:BzAPI|has moved]].'''</div><br>
'''If you are running your own Bugzilla, version 4.4 or below, you might be interested in an alternate solution, [[Bugzilla:BzAPI|BzAPI]]. This is separate server software that interfaces with Bugzilla and provides a similar interface to the new native REST API. BzAPI supports Bugzilla versions 3.4 and higher. BzAPI's documentation used to live here but [[Bugzilla:BzAPI|has moved]].'''</div><br>


= Bugzilla's REST API =
= Bugzilla's REST API =
Line 8: Line 8:
== Summary ==
== Summary ==


Bugzilla 5.0+ has a native REST API, an HTTP version of its XMLRPC and JSONRPC APIs. It is [http://bugzilla.readthedocs.org/en/latest/api/index.html documented] along with the other WebServices and Bugzilla's internal interfaces. '''This is the preferred way to interface with Bugzilla from external apps''', web or otherwise.
Bugzilla 5.0 has a native REST API, an HTTP version of its XMLRPC and JSONRPC APIs. It is [http://bugzilla.readthedocs.org/en/latest/api/index.html documented] along with the other WebServices and Bugzilla's internal interfaces. '''This is the preferred way to interface with Bugzilla from external apps''', web or otherwise.


Although the native REST API is not in any released Bugzilla version yet, it has been backported to [[BMO]] and is available for use there.  On BMO, the previous REST API, [[Bugzilla:BzAPI|BzAPI]], is considered '''DEPRECATED'''. There exists a [[Bugzilla:BzAPI:CompatLayer|compatibility layer]] to help transition away from the BzAPI server.
This native REST API has been backported to [[BMO]] and is available for use there.  On BMO, the previous REST API, [[Bugzilla:BzAPI|BzAPI]], is considered '''DEPRECATED'''. There exists a [[Bugzilla:BzAPI:CompatLayer|compatibility layer]] to help transition away from the BzAPI server.


== Background ==
== Background ==
Confirmed users
683

edits