User:Catlee/BuildAPI: Difference between revisions

Line 10: Line 10:
GET /builds/{branch}/build/{buildid} -> information about a particular build
GET /builds/{branch}/build/{buildid} -> information about a particular build


GET /builds/{branch}/buildrequest/{requestid} -> information about a particular build request
GET /builds/{branch}/request/{requestid} -> information about a particular build request


GET /builds/{branch}/rev/{revision} -> list of builds for this revision
GET /builds/{branch}/rev/{revision} -> list of builds for this revision
Line 18: Line 18:
GET /builds/{branch}/builders/{buildername} -> list of recent builds, including completed, running, and pending for this builder name
GET /builds/{branch}/builders/{buildername} -> list of recent builds, including completed, running, and pending for this builder name


PUT /builds/{branch}/buildrequest/{requestid} -> update this build
PUT /builds/{branch}/request/{requestid} -> update this build
* priority (required, sets the build request's priority)
* priority (required, sets the build request's priority)


DELETE /builds/{branch}/build/{buildid} -> cancel this build
DELETE /builds/{branch}/build/{buildid} -> cancel this build


DELETE /builds/{branch}/buildrequest/{requestid} -> cancel this buildrequest
DELETE /builds/{branch}/request/{requestid} -> cancel this buildrequest
* onlyifrunning (optional, set to only cancel builds if they're running)
* onlyifrunning (optional, set to only cancel builds if they're running)
* onlyifpending (optional, set to only cancel builds if they're pending)
* onlyifpending (optional, set to only cancel builds if they're pending)
Confirmed users
2,456

edits