v2 API should not return images or access records in containers
Bug #1031185 reported by
Brian Waldon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Critical
|
Brian Waldon | ||
Glance Client |
Fix Released
|
Critical
|
Brian Waldon |
Bug Description
Rather than return an image object in a superfluous dictionary like {'image': {<USEFUL STUFF>}} , just return the {<USEFUL STUFF>}! This also makes sense so our JSON schemas can apply to the whole document, not just a sub-document of a document for which we have no schema. This applies to access records as well.
This does not apply to resources that are containers - {'images': [...], 'next': ...} is actually super useful.
Changed in glance: | |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | folsom-3 → 2012.2 |
To post a comment you must log in.
python-glanceclient needs to be updated ASAP to match the change in response format