GET/comments/{commentId}.json

Retrieving a Specific Comment

This will get a comment based on the comment's ID.


Path Params

  • Name
    commentId
    Type
    string
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "comment": {
    "project-id": "999",
    "attachments_count": "0",
    "author-lastname": "User",
    "commentable-id": "999",
    "commentable_type": "todo_items",
    "emailed-from": "",
    "isRead": "1",
    "private": "0",
    "lockdown-id": "",
    "datetime": "2014-03-31T13:03:29Z",
    "author-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
    "author_id": "999",
    "id": "999",
    "company-name": "Demo 1 Company",
    "content-type": "HTML",
    "last-changed-on": "",
    "nr-notified-people": "0",
    "type": "task",
    "item-name": "Test Task",
    "attachments-count": "0",
    "company-id": "999",
    "html-body": "A test comment",
    "project-name": "demo",
    "body": "A test comment",
    "attachments": [],
    "author-firstname": "Demo",
    "comment-link": "tasks/436523?c=93",
    "numLikes": "0",
    "author-id": "999"
  },
  "STATUS": "OK"
}