Confirmed users
1,198
edits
(Updated warning to recommend native REST) |
No edit summary |
||
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 5.0 has a native REST API, an HTTP version of its XMLRPC and JSONRPC APIs. It is [http://bmo.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. | ||
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. | 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. | ||
Line 22: | Line 22: | ||
== Documentation == | == Documentation == | ||
The REST API is [http:// | The REST API is [http://bmo.readthedocs.org/en/latest/api/ documented] along with the other WebServices and Bugzilla's internal interfaces. '''[Note that the API documentation was completely rewritten in late 2014 to be much more readable]''' | ||
=== Examples of native REST API use === | === Examples of native REST API use === |