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.
numbuilds
By default, only in memory cached builds are listed. You can as for more data
by using numbuilds=<number>.
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/collectd-60-solaris10-i386
A specific builder as compact text.
/json/builders/collectd-60-solaris10-i386/builds
All *cached* builds.
/json/builders/collectd-60-solaris10-i386/builds/_all
All builds. Warning, reads all previous build data.
/json/builders/collectd-60-solaris10-i386/builds/127
Where 127 is either positive, a build number, or negative, a past
build.
/json/builders/collectd-60-solaris10-i386/builds/-1/source_stamp/changes
Build changes
/json/builders/collectd-60-solaris10-i386/builds?select=-1&select=-2
Two last builds on 'collectd-60-solaris10-i386' builder.
/json/builders/collectd-60-solaris10-i386/builds?select=-1/source_stamp/changes&select=-2/source_stamp/changes
Changes of the two last builds on 'collectd-60-solaris10-i386' builder.
/json/builders/collectd-60-solaris10-i386/slaves
Slaves associated to this builder.
/json/builders/collectd-60-solaris10-i386?select=&select=slaves
Builder information plus details information about its slaves. Neat eh?
/json/slaves/unstable10x
A specific slave.
/json?select=slaves/unstable10x/&select=project&select=builders/collectd-60-solaris10-i386/builds/127
A selection of random unrelated stuff as an random example. :)