User:Bhearsum/Balrog/Administration: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "This pages documents the REST API implemented by AUS3. {| class="wikitable sortable" |- ! URI ! Method ! Parameters ! Description |- | /release/[name] | GET | | Retrieve the rel...")
(No difference)

Revision as of 17:39, 21 July 2011

This pages documents the REST API implemented by AUS3.

URI Method Parameters Description
/release/[name] GET Retrieve the release identified by "name"
/release/[name] PUT details - the JSON blob associated with this release Update the release with the supplied JSON data. If non-existent, it is created.
/release/[name] DELETE Delete the release
/release/[name]/[platform]/[locale] GET Retrieve a specific build from a release
/release/[name]/[platform]/[locale] PUT details - the JSON blob associated with this build Update the build with the supplied JSON data. If non-existent, it is created.
/rule POST priority Create a new rule with the supplied parameters.
mapping
throttle
update_type
product
version
channel
buildTarget
buildID
locale
osVersion
distribution
distVersion
headerArchitecture
comment
/rule/[id] PUT Same as POST /rule Update the rule with the supplied parameters. Any missing parameters will be considered NULL.