GET /decap
GET /api/v1/version
GET /api/v1/teams
Supply query parameter team to narrow results to a specific Team
GET /api/v1/projects
Get git refs for a project
GET /api/v1/projects/:team/:project/refs
GET /api/v1/builds/:team/:project
Stop a currently executing build by deleting the backing pod
DELETE /api/v1/builds/:id
POST /api/v1/builds/:team/:project?branch=b1&branch=b2
By buildID. Returns a gzipped console log for this build.
GET /api/v1/logs/:id
Set "Accept: text/plain" to get the plain text version of the log.
By buildID. Returns a tar-gzipped set of artifacts for this build.
GET /api/v1/artifacts/:id"
Set "Accept: text/plain" to get the plain text listing of tar file names.
GET /api/v1/deferred
POST /api/v1/deferred?key=keyval
where keyval is the key of the deferred build to clear, and is determined from a call to GET /api/v1/deferred.
By repomanager, where currently supported values are github and buildscripts. buildscripts is special, and is a hook to force decap to re-clone the buildscripts repo to pick up changes.
POST /hooks/:repomanager
POST /api/v1/shutdown/:state
where :state is open or close. The HTTP entity body is ignored.
If close, no new builds will be accepted for launching until the state is set to open.
To get the current shutdown state
GET /api/v1/shutdown
POST /api/v1/loglevel/:level
where :level is default or debug.