Open
Bug 2081859
Opened 4 days ago
Updated 3 days ago
Migrate Bug REST resource to native Mojo API: comments (comments, add_comment, render_comment, reactions, tags)
Categories
(bugzilla.mozilla.org :: API, task)
Tracking
()
UNCONFIRMED
People
(Reporter: xavier.lhour, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Part of bug 2081819
Port the comment endpoints of the legacy Bug REST resource to a native Mojo controller, Bugzilla::API::V1::BugComment.
Endpoints:
GET /rest/bug/<id>/commentPOST /rest/bug/<id>/commentGET /rest/bug/comment/<comment_id>POST /rest/bug/comment/renderGET /rest/bug/comment/<comment_id>/reactionsPUT /rest/bug/comment/<comment_id>/reactionsGET /rest/bug/comment/tags/<query>PUT /rest/bug/comment/<comment_id>/tags
Scope:
- Port the seven methods (
comments,add_comment,render_comment,get_comment_reactions,update_comment_reactions,search_comment_tags,update_comment_tags), keeping
request parameters and response format unchanged. - They are called by the web UI (BugModal comments and reactions, comment tagging, the text editor preview), so the native endpoints must match those calls exactly.
- Comment timestamps keep their trailing
Z.
Comment 1•3 days ago
|
||
(via GitHub webhook, authenticated as shared-secret)
You need to log in
before you can comment on or make changes to this bug.
Description
•