Commit 21366b44 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 1234056: The "Create Comments" documentation incorrectly mentions that you…

Bug 1234056: The "Create Comments" documentation incorrectly mentions that you can add a comment to several bugs at once r/a=dkl
parent e4b915b7
...@@ -122,19 +122,14 @@ To create a comment on a current bug. ...@@ -122,19 +122,14 @@ To create a comment on a current bug.
.. code-block:: js .. code-block:: js
{ {
"ids" : [123,..],
"comment" : "This is an additional comment", "comment" : "This is an additional comment",
"is_private" : false "is_private" : false
} }
``ids`` is optional in the data example above and can be used to specify adding
a comment to more than one bug at the same time.
=========== ======= =========================================================== =========== ======= ===========================================================
name type description name type description
=========== ======= =========================================================== =========== ======= ===========================================================
**id** int The ID or alias of the bug to append a comment to. **id** int The ID or alias of the bug to append a comment to.
ids array List of integer bug IDs to add the comment to.
**comment** string The comment to append to the bug. If this is empty **comment** string The comment to append to the bug. If this is empty
or all whitespace, an error will be thrown saying that you or all whitespace, an error will be thrown saying that you
did not set the ``comment`` parameter. did not set the ``comment`` parameter.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment