Updates¶
Update service at /updates/{id}¶
Update submission service
GET¶
Accepted content types:- text/html
Return a single update from an id, title, or alias Ensure that a given update id exists
Response: update.html
GET¶
Accepted content types:- application/javascript
Return a single update from an id, title, or alias Ensure that a given update id exists
Response: jsonp
GET¶
Accepted content types:- application/json
- text/json
Return a single update from an id, title, or alias Ensure that a given update id exists
Response: json
Update_Edit service at /updates/{id}/edit¶
Update submission service
GET¶
Accepted content types:- text/html
Return a single update from an id, title, or alias for the edit form Ensure that a given update id exists
Response: new_update.html
Updates service at /updates/¶
Update submission service
GET¶
values in the querystring- display_user (Boolean) - (default: true)
- like (String) - (optional)
- chrome (Boolean) - (default: true)
- page (Integer) - (default: 1)
- rows_per_page (Integer) - (default: 20)
- alias (Sequence) - (optional)
- approved_since (DateTime) - (optional)
- approved_before (DateTime) - (optional)
- bugs (Sequence) - (optional)
- builds (Sequence) - (optional)
- critpath (Boolean) - (optional)
- cves (Sequence) - (optional)
- locked (Boolean) - (optional)
- modified_since (DateTime) - (optional)
- modified_before (DateTime) - (optional)
- packages (Sequence) - (optional)
- pushed (Boolean) - (optional)
- pushed_since (DateTime) - (optional)
- pushed_before (DateTime) - (optional)
- releases (Sequence) - (optional)
- release (String) - (optional)
- request (String) - (optional)
- severity (String) - (optional)
- status (String) - (optional)
- submitted_since (DateTime) - (optional)
- submitted_before (DateTime) - (optional)
- suggest (String) - (optional)
- type (String) - (optional)
- user (String) - (optional)
- updateid (Sequence) - (optional)
- text/html
Make sure this singular release existsMake sure those releases existConvert from strings to our enumerated typesMake sure this user exists
Response: updates.html
GET¶
values in the querystring- display_user (Boolean) - (default: true)
- like (String) - (optional)
- chrome (Boolean) - (default: true)
- page (Integer) - (default: 1)
- rows_per_page (Integer) - (default: 20)
- alias (Sequence) - (optional)
- approved_since (DateTime) - (optional)
- approved_before (DateTime) - (optional)
- bugs (Sequence) - (optional)
- builds (Sequence) - (optional)
- critpath (Boolean) - (optional)
- cves (Sequence) - (optional)
- locked (Boolean) - (optional)
- modified_since (DateTime) - (optional)
- modified_before (DateTime) - (optional)
- packages (Sequence) - (optional)
- pushed (Boolean) - (optional)
- pushed_since (DateTime) - (optional)
- pushed_before (DateTime) - (optional)
- releases (Sequence) - (optional)
- release (String) - (optional)
- request (String) - (optional)
- severity (String) - (optional)
- status (String) - (optional)
- submitted_since (DateTime) - (optional)
- submitted_before (DateTime) - (optional)
- suggest (String) - (optional)
- type (String) - (optional)
- user (String) - (optional)
- updateid (Sequence) - (optional)
- application/javascript
Make sure this singular release existsMake sure those releases existConvert from strings to our enumerated typesMake sure this user exists
Response: jsonp
GET¶
values in the querystring- display_user (Boolean) - (default: true)
- like (String) - (optional)
- chrome (Boolean) - (default: true)
- page (Integer) - (default: 1)
- rows_per_page (Integer) - (default: 20)
- alias (Sequence) - (optional)
- approved_since (DateTime) - (optional)
- approved_before (DateTime) - (optional)
- bugs (Sequence) - (optional)
- builds (Sequence) - (optional)
- critpath (Boolean) - (optional)
- cves (Sequence) - (optional)
- locked (Boolean) - (optional)
- modified_since (DateTime) - (optional)
- modified_before (DateTime) - (optional)
- packages (Sequence) - (optional)
- pushed (Boolean) - (optional)
- pushed_since (DateTime) - (optional)
- pushed_before (DateTime) - (optional)
- releases (Sequence) - (optional)
- release (String) - (optional)
- request (String) - (optional)
- severity (String) - (optional)
- status (String) - (optional)
- submitted_since (DateTime) - (optional)
- submitted_before (DateTime) - (optional)
- suggest (String) - (optional)
- type (String) - (optional)
- user (String) - (optional)
- updateid (Sequence) - (optional)
- application/json
- text/json
Make sure this singular release existsMake sure those releases existConvert from strings to our enumerated typesMake sure this user exists
Response: json
POST¶
values in the body- csrf_token (String)
- builds (Sequence)
- bugs (Sequence) - (optional)
- close_bugs (Boolean) - (default: true)
- type (String)
- request (String) - (default: “testing”)
- severity (String) - (default: “unspecified”)
- notes (String)
- autokarma (Boolean) - (default: true)
- stable_karma (Integer) - (default: 3)
- unstable_karma (Integer) - (default: -3)
- suggest (String) - (default: “unspecified”)
- edited (String) - (default: “”)
- requirements (String) - (optional)
- require_bugs (Boolean) - (default: true)
- require_testcases (Boolean) - (default: true)
Save an update.
This entails either creating a new update, or editing an existing one. To
edit an existing update, the update’s original title must be specified in
the edited
parameter.
Check for multiple builds from the same package and same releaseEnsure that all of the builds are tagged as candidatesEnsure this user has commit privs to these builds or is an adminConvert from strings to our enumerated types
Response: json
Updates_Rss service at /rss/updates/¶
Update submission service RSS feed
GET¶
values in the querystring- display_user (Boolean) - (default: true)
- like (String) - (optional)
- chrome (Boolean) - (default: true)
- page (Integer) - (default: 1)
- rows_per_page (Integer) - (default: 20)
- alias (Sequence) - (optional)
- approved_since (DateTime) - (optional)
- approved_before (DateTime) - (optional)
- bugs (Sequence) - (optional)
- builds (Sequence) - (optional)
- critpath (Boolean) - (optional)
- cves (Sequence) - (optional)
- locked (Boolean) - (optional)
- modified_since (DateTime) - (optional)
- modified_before (DateTime) - (optional)
- packages (Sequence) - (optional)
- pushed (Boolean) - (optional)
- pushed_since (DateTime) - (optional)
- pushed_before (DateTime) - (optional)
- releases (Sequence) - (optional)
- release (String) - (optional)
- request (String) - (optional)
- severity (String) - (optional)
- status (String) - (optional)
- submitted_since (DateTime) - (optional)
- submitted_before (DateTime) - (optional)
- suggest (String) - (optional)
- type (String) - (optional)
- user (String) - (optional)
- updateid (Sequence) - (optional)
Make sure this singular release existsMake sure those releases existConvert from strings to our enumerated typesMake sure this user exists
Response: rss
Update_Request service at /updates/{id}/request¶
Update request service
POST¶
values in the body- csrf_token (String)
- request (String)
Sets a specific bodhi.server.models.UpdateRequest
on a given update
Convert from strings to our enumerated typesEnsure that a given update id existsEnsure that all of the builds are tagged as candidatesEnsure this user has commit privs to these builds or is an adminEnsure that this update is newer than whatever is in the requested state
Response: json