GET/latestActivity.json

Latest Activity across all Projects

Lists the latest activity across all projects ordered chronologically. When you log into teamwork projects you will see all the recent activity. This corresponds to that view in Teamwork Projects. There is some parameters you can send in to filter your results.


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 latest activities returned can be limited using this parameter. Normally used in conjunction with the page parameter.

    Minimum: 1 Maximum: 100

    Default
    100
  • Name
    includeArchivedProjects
    Type
    boolean
    Description

Responses

  • Code
    200
    Type
    object
    Schema
    Description
    200 Response

Examples

200 Response

application/json
{
  "activity": [
    {
      "project-id": "999",
      "itemid": "999",
      "todo-list-name": "Things to do",
      "from-user-avatar-url": "https://s3.amazonaws.com/TWFiles/2/users/999.avatar",
      "description": "Register domain",
      "forusername": "",
      "publicinfo": "",
      "foruserid": "",
      "itemlink": "tasklists/58758",
      "datetime": "2014-03-28T15:24:58Z",
      "activitytype": "new",
      "project-name": "demo",
      "link": "tasks/436522",
      "extradescription": "Things to do",
      "isprivate": "0",
      "id": "999",
      "due-date": "20140329",
      "fromusername": "Demo U.",
      "type": "task",
      "for-user-avatar-url": "http://demo1company.teamwork.com/images/photo.jpg",
      "userid": "999"
    }
  ],
  "STATUS": "OK"
}