[Buildbot-devel] Could anybody clarify how to use the 'control' rest API in Nine?

Francesco Di Mizio francescodimizio at gmail.com
Fri Feb 13 17:57:40 UTC 2015


>From the docs:

POST http://build.example.org/api/v2/scheduler/4
--> {"jsonrpc": "2.0", "method": "force", "params": {"revision":
"abcd", "branch": "dev"}, "id": 843}
<-- {"jsonrpc": "2.0", "result": {"buildsetid": 44}, "id": 843}


Assuming I can reach http://build.example.org/api/v2/scheduler/4 Ok,
sending that payload gives me errors.

Furthermore, what is that ID? The id of what? Is it an internal ID for
the reauest itself?


The docs say the rest API matches the Data API. Where exactly in the
docs can I find that info?

The closest thing I found is
http://docs.buildbot.net/latest/developer/rtype-forcescheduler.html
which is not teh same thing I guess.


Cheers,

 Francesco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20150213/27776c35/attachment.html>


More information about the devel mailing list