Closed
Bug 856211
Opened 12 years ago
Closed 12 years ago
API preview objects do not contain "type"
Categories
(Marketplace Graveyard :: API, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-04-04
People
(Reporter: basta, Assigned: andy+bugzilla)
References
Details
(Whiteboard: [fireplace] p=1)
An app object's preview field contains objects that look like
- caption
- full_url
- thumb_url
An additional member, "type", needs to be passed describing the content-type of the preview.
Updated•12 years ago
|
Whiteboard: [fireplace]
Assignee | ||
Comment 1•12 years ago
|
||
The preview resource already contains this. What I'd rather have is that we add those fields to the preview resource (caption, full_url and thumb_url) and then use the preview resource to dehydrate, that will be consistent.
Assignee: nobody → amckay
Target Milestone: --- → 2013-04-04
Assignee | ||
Comment 2•12 years ago
|
||
I've changed the API to return the exact same data as a preview resource.
Note: this changed the fields to be as noted in the docs:
https://zamboni.readthedocs.org/en/latest/topics/api/submission.html#id2
https://github.com/mozilla/zamboni/commit/6e209a
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fireplace] → [fireplace] p=1
You need to log in
before you can comment on or make changes to this bug.
Description
•