GET/projects/{id}/latestActivity.json

List Latest Activity for a Specific Project

Path Params

  • Name
    id
    Type
    string
    required
    Description

Query Params

  • Name
    maxItems
    Type
    string
    Description

    default=60, Max=200

    Default
  • Name
    onlyStarred
    Type
    boolean
    Description
  • 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 latest activities returned can be limited using this parameter. Normally used in conjunction with the page parameter.

    Minimum: 1 Maximum: 100

    Default
    100

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "activity": [
    {
      "project-id": "999",
      "itemid": "999",
      "from-user-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
      "description": " This is a test message ",
      "forusername": "",
      "publicinfo": "",
      "foruserid": "",
      "itemlink": "",
      "datetime": "2014-03-31T11:00:45Z",
      "activitytype": "new",
      "project-name": "demo",
      "link": "messages/12#pmp16",
      "extradescription": "",
      "isprivate": "0",
      "id": "999",
      "due-date": "",
      "fromusername": "Demo U.",
      "type": "message",
      "for-user-avatar-url": "http://demo1company.teamwork.com/images/photo.jpg",
      "userid": "999"
    }
  ],
  "STATUS": "OK"
}