Bug 8024 - JSON payload incompatible
Summary: JSON payload incompatible
Status: VERIFIED OBSOLETE
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 1.9 M2
Assignee: Michael Wood
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-07-16 14:59 UTC by Michael Wood
Modified: 2015-09-02 11:50 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.