JSON status
Root page to give a fair amount of information in the current buildbot master
status. You may want to use a child instead to reduce the load on the server.
For help on any sub directory, use url /child/help
More Help:
Child Nodes
Flags:
-
as_text
-
By default, application/json is used. Setting as_text=1 change the type
to text/plain and implicitly sets compact=0 and filter=1. Mainly useful to
look at the result in a web browser.
compact
By default, the json data is compact and defaults to 1. For easier to read
indented output, set compact=0.
select
By default, most children data is listed. You can do a random selection
of data by using select=<sub-url> multiple times to coagulate data.
"select=" includes the actual url otherwise it is skipped.
filter
Filters out null, false, and empty string, list and dict. This reduce the
amount of useless data sent.
callback
Enable uses of JSONP as described in
http://en.wikipedia.org/wiki/JSONP. Note that
Access-Control-Allow-Origin:* is set in the HTTP response header so you
can use this in compatible browsers.
Examples:
-
/json
-
Root node, that *doesn't* mean all the data. Many things (like logs) must
be explicitly queried for performance reasons.
/json/builders/
All builders.
/json/builders/Gentoo x86_64
A specific builder as compact text.
/json/builders/Gentoo x86_64/builds
All *cached* builds.
/json/builders/Gentoo x86_64/builds/_all
All builds. Warning, reads all previous build data.
/json/builders/Gentoo x86_64/builds/31
Where 31 is either positive, a build number, or negative, a past
build.
/json/builders/Gentoo x86_64/builds/-1/source_stamp/changes
Build changes
/json/builders/Gentoo x86_64/builds?select=-1&select=-2
Two last builds on 'Gentoo x86_64' builder.
/json/builders/Gentoo x86_64/builds?select=-1/source_stamp/changes&select=-2/source_stamp/changes
Changes of the two last builds on 'Gentoo x86_64' builder.
/json/builders/Gentoo x86_64/slaves
Slaves associated to this builder.
/json/builders/Gentoo x86_64?select=&select=slaves
Builder information plus details information about its slaves. Neat eh?
/json/slaves/buildbot1
A specific slave.
/json?select=slaves/buildbot1/&select=project&select=builders/Gentoo x86_64/builds/31
A selection of random unrelated stuff as an random example. :)