Documentation

API /activity/all

ThoughtFarmer REST API Method: /activity/all

Gets the activity from all sources for the authenticated user. Returns the top ten items.

URL:
http://yourserver.com/api/activity/all
http://yourserver.com/api/1.0/activity/all

Response Formats:
xml,json

HTTP Method(s):
GET

Requires Authentication:
true, user making call must be able to view the activities being requested

Parameters:
none

Response Status Codes:
200 - Success

Example request

GET http://yourserver.com/api/activity/all
{
   "Items":[
      {
         "CreatorId":41,
         "CreatorName":"Tim S.",
         "DateCreated":"\/Date(1320240075950-0700)\/",
         "HiddenMessages":[

     ],
     "PhotoUrl":"...",
     "StartingActivityId":17652,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":41,
     "CreatorName":"Tim S.",
     "DateCreated":"\/Date(1320218252627-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"...",
     "StartingActivityId":17648,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  }

], "NextActivityId":17594 }