Comment on a Task

To create a comment, you:

  • POST to the …/comments resource of an item
  • With a parameter named “comment” whose value is a hash of comment attributes
  • With an attribute “comment” in the hash whose value is the text of the comment

Supposing we want to comment “working on it…” on our task “learn the API”:

% curl \
-d '{"comment": {"comment": "working on it..."}}'
"comment": "working on it...",
"id": 10941,
"type": "Comment",
"item_id": 79104,
Status: 201
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request