Closed Bug 1270289 Opened 8 years ago Closed 8 years ago

REST API /bug/comment/render method is not documented

Categories

(bugzilla.mozilla.org :: Documentation, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: kohei, Assigned: dkl)

References

()

Details

It was implemented in Bug 1146770 but not yet in the doc.
I think there is some confusion. There is no /render/comment or /bug/comment/render upstream. But the render_comment method does indeed exist. @dkl: how are we supposed to access it?
Flags: needinfo?(dkl)
We added a REST method /bug/comment/render to allow the Bug.render_comment code to work with the bug modal UI. This has not happened upstream as the comment rendering code for the standard bug form is still using JSONRPC to call Bug.render_comment. When a method gains a REST endpoint upstream, it is then added to the API docs. For BMO, we can certainly add the documentation to our API docs for the time being. Hopefully upstream, all of the older JSONRPC calls will eventually be converted over to REST and the docs will be updated at that time.

dkl
Assignee: documentation → dkl
Status: NEW → ASSIGNED
Flags: needinfo?(dkl)
Product: Bugzilla → bugzilla.mozilla.org
QA Contact: default-qa
Version: unspecified → Production
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   a07ff20..97cc953  master -> master
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
This has been pushed to production.

dkl
You need to log in before you can comment on or make changes to this bug.