Method

POST

Parameters

Result

A JSON object representing the newly created comment. Its structure corresponds to the Comment interface in the engine.Its properties are as follows:

Response Codes

Example

POST /task/aTaskId/comment/create

  1. "links": [
  2. {
  3. "method": "GET",
  4. "href": "http://localhost:38080/rest-test/task/aTaskId/comment/aTaskCommentId",
  5. }
  6. "id": "aTaskCommentId",
  7. "userId": "userId",
  8. "taskId": "aTaskId",
  9. "time": "2013-01-02T21:37:03.887+0200",
  10. }