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/sunfish_main_nightly_build
A specific builder as compact text.
/json/builders/sunfish_main_nightly_build/builds
All *cached* builds.
/json/builders/sunfish_main_nightly_build/builds/_all
All builds. Warning, reads all previous build data.
/json/builders/sunfish_main_nightly_build/builds/185
Where 185 is either positive, a build number, or negative, a past
build.
/json/builders/sunfish_main_nightly_build/builds/-1/source_stamp/changes
Build changes
/json/builders/sunfish_main_nightly_build/builds?select=-1&select=-2
Two last builds on 'sunfish_main_nightly_build' builder.
/json/builders/sunfish_main_nightly_build/builds?select=-1/source_stamp/changes&select=-2/source_stamp/changes
Changes of the two last builds on 'sunfish_main_nightly_build' builder.
/json/builders/sunfish_main_nightly_build/slaves
Slaves associated to this builder.
/json/builders/sunfish_main_nightly_build?select=&select=slaves
Builder information plus details information about its slaves. Neat eh?
/json/slaves/sunfish
A specific slave.
/json?select=slaves/sunfish/&select=project&select=builders/sunfish_main_nightly_build/builds/185
A selection of random unrelated stuff as an random example. :)