Bug 16477 - error-report-web: add a JSON API
Summary: error-report-web: add a JSON API
Status: IN PROGRESS IMPLEMENTATION
Alias: None
Product: Error Reporting tool
Classification: Yocto Project Subprojects
Component: Error Reporting Tool (show other bugs)
Version: 6.2
Hardware: All Multiple
: Medium enhancement
Target Milestone: 6.2
Assignee: Tim Orling
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2026-10-29 19:33 UTC by Tim Orling
Modified: 2026-10-29 19:34 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Orling 2026-10-29 19:33:38 UTC
Currently, for another tool to query errors.yoctoproject.org, it would have to build a valid query URL and then scrape the resulting HTML. Instead, we should provide a (simple) JSON API for queries.

Initial designs do not warrant a full blown RestAPI, which brings in additional python dependencies and therefore additional exposure to vulnerabilities and update churn. If usage is popular or the JSON API is shown to be lacking, we should probably consider Swagger/djangorestframework.

The initial JSON API will simply support the "same" types of queries already supported through the query URL workflow.