On 27/11/18 19:45, Miroslav Suchý wrote:
Dne 26. 11. 18 v 16:57 Ben Cotton napsal(a):
Bugzilla 5.0 introduces a new REST endpoint to replace XML-RPC and JSON-RPC. The XML-RPC and JSON-RPC APIs will remain available.
Before someone jumps into porting their code to the new REST API (my team tried that) - it is undocumented, the few documented examples does not work -> the new API is real mess now.
+1 I think upstream jumped the gun on pushing REST so hard, it's not ready for production use IMO.
As the old API will obviously stay for longer period, you can keep calp and keep your XML-RPC and JSON-RPC scripts.
I have a hand shake agreement with upstream that JSON-RPC will hang around until we are happy that REST can fully replace it.
Cheers, Jeff.