GET/posts.json

Retrieve Latest Messages

Query Params

  • Name
    page
    Type
    integer
    Description

    Optionally, you can set the page from which to start retrieving results. This is usually used in conjunction with the parameter pageSize.

    See How does paging work for more detailed documentation on pagination. For example: ?page=2&pageSize=10 will retrieve results 10-20.

  • Name
    pageSize
    Type
    integer
    Description

    The amount of messages returned can be limited using this parameter. Normally used in conjunction with the page parameter.

    Minimum: 1 Maximum: 100

    Default
    50

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "posts": [
    {
      "user-display-posted-time": "6:01PM",
      "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": "",
      "author-last-name": "User",
      "posted-on": "2014-03-31T18:01:17Z",
      "body": "Yet another message content goes here",
      "id": "999",
      "last-changed-on": "2014-03-31T18:01:17Z",
      "content-type": "TEXT",
      "last-comment-date": "2014-03-31T18:01:17Z",
      "user-display-posted-date": "Mon, 31 Mar 2014",
      "author-id": "999",
      "title": "Yet another task for tomorrow",
      "category-name": ""
    }
  ],
  "STATUS": "OK"
}