GET/projects/{projectId}/cat/{categoryId}/posts.json

Retrieve Messages by Category

As before, will return you the most recent 25 messages, this time limited by project and category.


Path Params

  • Name
    projectId
    Type
    string
    required
    Description
  • Name
    categoryId
    Type
    string
    required
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "posts": [
    {
      "user-display-posted-time": "6:11PM",
      "project-id": "999",
      "author-first-name": "Demo",
      "attachments-count": "0",
      "milestone-id": "",
      "isRead": "1",
      "private": "0",
      "comments-count": "0",
      "author-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
      "category-id": "999",
      "author-last-name": "User",
      "html-body": "Docs need to be updated",
      "posted-on": "2014-03-31T18:11:03Z",
      "body": "Docs need to be updated",
      "id": "999",
      "last-changed-on": "2014-03-31T18:11:03Z",
      "content-type": "HTML",
      "last-comment-date": "2014-03-31T18:11:03Z",
      "user-display-posted-date": "Mon, 31 Mar 2014",
      "author-id": "999",
      "title": "Reg: Docs",
      "category-name": "Demo Category 3"
    }
  ],
  "STATUS": "OK"
}