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

Dustin J. Mitchell dustin at v.igoro.us
Sun Feb 15 03:03:00 UTC 2015


Check out http://json-rpc.org/ -- I believe that id is an arbitrary
value used by the client to connect requests to responses.

The connection between control requests and the data API is stlil
pretty tenuous, and something we need to fix up before the first nine
release.  http://trac.buildbot.net/ticket/3203 is somewhat related,
too.

Dustin

On Fri, Feb 13, 2015 at 12:57 PM, Francesco Di Mizio
<francescodimizio at gmail.com> wrote:
> 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
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming. The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Buildbot-devel mailing list
> Buildbot-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/buildbot-devel
>




More information about the devel mailing list