Confirmed users
4,467
edits
| Line 29: | Line 29: | ||
List of request methods, urls, and parameters: | List of request methods, urls, and parameters: | ||
POST /bugs/{bugID} -> insert bug | '''POST /bugs/{bugID}''' -> insert bug | ||
POST /bugs/{bugID}/{patchSetID} -> insert an auto-land patchset | '''POST /bugs/{bugID}/{patchSetID}''' -> insert an auto-land patchset | ||
GET /bugs/{bugID} -> list the patchSet(s) for a bug (to support multiple autolanding attempts on the same bug) '''Note''': this should be the main landing page with full report of autoland cycle progress as well as links to builds and other useful info (patch metadata, compare-talos, showing regressions only, for try run vs. results from m-c changeset it's based on, every correctness test failure, "Install builds: Windows, Linux, Linux64, Mac, Android" -- and room for enhancement as needed) | '''GET /bugs/{bugID}''' -> list the patchSet(s) for a bug (to support multiple autolanding attempts on the same bug) | ||
**'''Note''': this should be the main landing page with full report of autoland cycle progress as well as links to builds and other useful info (patch metadata, compare-talos, showing regressions only, for try run vs. results from m-c changeset it's based on, every correctness test failure, "Install builds: Windows, Linux, Linux64, Mac, Android" -- and room for enhancement as needed) | |||
GET /bugs/{bugID}/{patchSetID} -> information about a patchSet | '''GET /bugs/{bugID}/{patchSetID}''' -> information about a patchSet | ||
GET /bugs/{bugID}/{patchSetID}/{patchID} -> information about a particular patch (link to bugzilla attachment?) | '''GET /bugs/{bugID}/{patchSetID}/{patchID}''' -> information about a particular patch (link to bugzilla attachment?) | ||
PUT /bugs/{bugID}/{patchSetID}/{patchID}(s) -> update this bug - add patchID(s) to a bug's patchSet assigned by DB on insert | '''PUT /bugs/{bugID}/{patchSetID}/{patchID}(s)''' -> update this bug - add patchID(s) to a bug's patchSet assigned by DB on insert | ||
* priority | * priority | ||
* patchID(s) | * patchID(s) | ||
PUT /bugs/{bugID}/{patchSetID} -> update the pushID | '''PUT /bugs/{bugID}/{patchSetID}''' -> update the pushID | ||
* tryresult/branchresult from SchedulerDBPoller | * tryresult/branchresult from SchedulerDBPoller | ||
* pushresult from HgPusher | * pushresult from HgPusher | ||
DELETE /bugs/{bugID} -> cancel all queued pushes for this bug and move to completed db table? | '''DELETE /bugs/{bugID}''' -> cancel all queued pushes for this bug and move to completed db table? | ||
DELETE /bugs/{bugID}/{patchSetID} -> cancel a patchSet from the list of patchSets queued for a bug | '''DELETE /bugs/{bugID}/{patchSetID}''' -> cancel a patchSet from the list of patchSets queued for a bug | ||
DELETE /bugs/{bugID}/{patchSetID}/{patchID} -> remove a patch from the queued push | '''DELETE /bugs/{bugID}/{patchSetID}/{patchID}''' -> remove a patch from the queued push | ||
==Object Definitions== | ==Object Definitions== | ||