https://wiki.yoctoproject.org/wiki/REST_API_Contracts
Please comment specific bits on what is not updated, and what should be.
(In reply to comment #1) > Please comment specific bits on what is not updated, and what should be. No need, really: I am planning to update the page to match what the API returns closer to the release, when things are more stable. Alex: I will probably need to ask you some stuff when I do.
I've updated the content of the wiki page: https://wiki.yoctoproject.org/wiki/REST_API_Contracts Review / feedback welcome
We have to update the wiki page, again, because: Package dependencies: - some items are missing in the list DEPENDS_TYPE; - "target" field - missing; Build: - "IN_PROGRESS" - missing; Target installed packages: - in models.py we have only 2 fields: target and package Layer version: - "build" field- missing Task: - update "TASK_CODING" Build packages: - update the name of the table Package files: - rename the field bpackage to package; I hope I didn't miss anything.
I've made all the changes requested by Andreea to https://wiki.yoctoproject.org/wiki/Analysis_REST_API_Contracts
The Wiki page needs to be updated. Build: - remove "image_fstypes" Target: - remove "file_name" - remove "file_size" - add "license_manifest_path" - add "image_size" Task: - "task_outcome": OUCOME_NA = -1, add OUTCOME_EMPTY - change type of the "elapsed_time" field from string Recipe: - remove "licensing_info" field add table Target_File: - add fields: "target", "path", "size", "inodetype", "permission", "owner", "group", "directory", "sym_target" add table Target_Image_File: - add "file_name", "file_size" Packages: - add "installed_size" field VariableHistory: - add "value" field LogMessage: - add "task" field
Thanks for the list, Andreea: it really helps. I'll update the wiki.
Wiki page updated https://wiki.yoctoproject.org/wiki/Analysis_REST_API_Contracts and changes made to bldviewer/api.py and bldviewer/views.py http://git.yoctoproject.org/cgit.cgi/poky-contrib/commit/?h=bbarrosp/api&id=188b5c65213d19c0f459bc163e3f0ffa521b3ffa
merged to master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=86aefcdd4dc781afd002898ae557344e8218f28b
Verified. IonutC