Balrog/Admin API: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 210: Line 210:
Deletes the named Release. The following parameters are supported:
Deletes the named Release. The following parameters are supported:
* data_version (required)
* data_version (required)
== /releases/<release>/read_only ==
=== GET ===
Returns whether or not the named Release is marked as read_only. Eg:
<pre>
{
  "read_only": true
}
</pre>
== /releases/<release>/builds/<platform>/<locale> ==
=== GET ===
Returns the platform+locale specific data of the named Release, which is a JSON Object. Eg:
<pre>
{
  "buildID": "20160329030246",
  "appVersion": "48.0a1",
  "displayVersion": "48.0a1",
  "platformVersion": "48.0a1",
  "partials": [
    {
      "fileUrl": "https://mozilla-nightly-updates.s3.amazonaws.com/mozilla-central/20160329030246/Firefox-mozilla-central-48.0a1-win32-de-20160327030437-20160329030246.partial.mar?versionId=uIza17vCjTuL6XVvCvtpzlVVQSelUdJm",
      "from": "Firefox-mozilla-central-nightly-20160327030437",
      "hashValue": "0d36245eedef3bfce927339ee89da58400f8afa5a8cc8b4323f7407660f291bbfa1f00527665d5f16614de679723b874d92d650dbf319ffbfa1e672729ba09c9",
      "filesize": 10388948
    }
  ],
  "completes": [
    {
      "fileUrl": "https://mozilla-nightly-updates.s3.amazonaws.com/mozilla-central/20160329030246/Firefox-mozilla-central-48.0a1-win32-de.complete.mar?versionId=sdNQURDy9.8GH3P4SLdO1V.XtA9MLIzu",
      "from": "*",
      "hashValue": "981082f1b7f5264d88aa017f45362aac362990842b82a0934e70506c1536304b0fda6beb229b7ef56b153d71b69669cc92b5f2987d282cc026e9ed993b88e582",
      "filesize": 53656493
    }
  ]
}
</pre>
=== PUT ===
Sets or unsets the read_only flag of the named Release. The following parameters are supported:
* name (required)
* data_version (required)
* read_only
canmove, Confirmed users
6,441

edits