Bug 8024

Summary: JSON payload incompatible
Product: [Build System, Metadata & Runtime] Toaster Reporter: Michael Wood <michael.g.wood>
Component: toasterAssignee: Michael Wood <michael.g.wood>
Status: VERIFIED OBSOLETE QA Contact: Mihail Stanciu <stanciux.mihail>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, alexandru.damian, belen.barros.pena, cristiana.voicu, jessica.zhang
Version: unspecified   
Target Milestone: 1.9 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Michael Wood 2015-07-16 14:59:52 UTC
There is currently no consistency when toaster's API represents a layer object in JSON. The properties in the object you get back depend on which API end point you use, this makes it nearly impossible use the API.

This also blocks further table porting to ToasterTables as some of the endpoints which would be used, already have their own custom JSON response that doesn't correspond to a compatible ToasterTable widget API JSON response.
Comment 1 Michael Wood 2015-08-13 12:33:35 UTC
API has been split up so it's now been possible to unify the object representation for layers which was the main issue here.
Comment 2 Mihail Stanciu 2015-09-02 11:50:20 UTC
Verified obsolete.