Closed
Bug 1085588
Opened 10 years ago
Closed 10 years ago
allow rules to be retrieved in JSON
Categories
(Release Engineering Graveyard :: Applications: Balrog (backend), defect)
Release Engineering Graveyard
Applications: Balrog (backend)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bhearsum, Assigned: bhearsum)
References
Details
Attachments
(1 file)
6.10 KB,
patch
|
rail
:
review+
bhearsum
:
checked-in+
|
Details | Diff | Splinter Review |
Right now, /rules/:id only returns HTML for the purpose of building up the UI. We should rip that out eventually (after the new UI is complete), but for now we need to support both. bug 1083326 needs the data in a parseable format. This patch should be pretty straightforward. We're already doing this exact thing for /releases/:name - https://github.com/mozilla/balrog/blob/master/auslib/admin/views/releases.py#L230
Attachment #8508174 -
Flags: review?(rail)
Updated•10 years ago
|
Attachment #8508174 -
Flags: review?(rail) → review+
Comment 1•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/balrog https://github.com/mozilla/balrog/commit/0ddfce3ad55bd927f5b03d4c3192fba5c566baea bug 1085588: allow rules to be retrieved in JSON. r=rail
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8508174 [details] [diff] [review] return json if Accept-Encoding is set right Landed. Will get it pushed to prod tomorrow most likely.
Attachment #8508174 -
Flags: checked-in+
Assignee | ||
Comment 3•10 years ago
|
||
This looks to be working in production.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Product: Release Engineering → Release Engineering Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•