Webtools/BuildAPI: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:


The goal is to build a RESTian API against the buildbot database.
The goal is to build a RESTian API against the buildbot database.
= Constructicon =
Constructicon is a project to create an API against the buildbot db.  The purpose is to replace all those scripts that scrape the builds ftp server.
== Related bugs ==
* {{bug|487036}} is the main bug
* {{bug|624417}} is duped but has useful info


= Calls needed =
= Calls needed =
* get changeset for buildid
== Changeset by buildid ==
* get changeset for buildid and regression range (not sure how this differs)
===Summary===
* get buildids for date
* Get changeset for buildid
* get buildids for date and repo
* Get changeset for buildid and regression range (not sure how this differs)
* get latest build for product or repo
 
== Buildids by date ==
=== Summary ===
* Get buildids for date and optional repo
 
===URL===
GET on [product]/nightlies/[date]/[optional repo] returns JSON containing builds from that date for a repo or all repos if not specified, ids, links to download on ftp, etc
 
Questions:
what's a repo?
is this valid for anything other than nightlies?
 
== Latest build ==
===Summary===
* Get latest build for product or repo

Revision as of 19:29, 3 March 2011

This is a rough requirements doc for bug 487036 (with further detail in bug 625417, duped).

The goal is to build a RESTian API against the buildbot database.

Constructicon

Constructicon is a project to create an API against the buildbot db. The purpose is to replace all those scripts that scrape the builds ftp server.

Related bugs

Calls needed

Changeset by buildid

Summary

  • Get changeset for buildid
  • Get changeset for buildid and regression range (not sure how this differs)

Buildids by date

Summary

  • Get buildids for date and optional repo

URL

GET on [product]/nightlies/[date]/[optional repo] returns JSON containing builds from that date for a repo or all repos if not specified, ids, links to download on ftp, etc

Questions: what's a repo? is this valid for anything other than nightlies?

Latest build

Summary

  • Get latest build for product or repo