[users at bb.net] Extending the Data API

Sveto Krchnavy sveto70 at gmail.com
Tue May 2 16:43:35 UTC 2017


I checked the section ' Extending the Data API' in documentation
and there is written:

"The data API may be extended in various ways: adding new endpoints, new
fields to resource types, new update methods, or entirely new resource
types. In any case, you should only extend the API if you plan to submit
the extensions to be merged into Buildbot itself. Private API extensions
are strongly discouraged."

What is main reason to discourage extending data API?
What is preferred way to extend data API with new endpoints with additional
resources (extending REST API)?

I checked the code and there is no support to extend the list of submodules
in DataConnector class.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170502/64580e82/attachment.html>

More information about the users mailing list