Documentation

API /activity/status

ThoughtFarmer REST API Method: /activity/status

Gets the activity from all the status updates on the ThoughtFarmer site. Returns the top ten items for the authenticated user.

URL:
http://yourserver.com/api/activity/status
http://yourserver.com/api/2.0/activity/status

Response Formats:
xml,json

HTTP Method(s):
GET

Requires Authentication:
true, user making call must pass a valid token parameter

Parameters:

Parameter Type Description
token string Required. A valid token authentication parameter
Response Status Codes:
200 - Success
401 - Token parameter is invalid

Example request
GET http://yourserver.com/Api/2.0/activity/status
{
   "Items":[
      {
         "CreatorId":72,
         "CreatorName":"Carolien",
         "DateCreated":"\/Date(1315532641423-0700)\/",
         "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/210234030000\/509\/50x50\/True\/caro.JPG",
     "StartingActivityId":17259,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":111,
     "CreatorName":"Kerry M.",
     "DateCreated":"\/Date(1315269240237-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/841772000000\/763\/50x50\/True\/Kerry.JPG",
     "StartingActivityId":17213,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":38,
     "CreatorName":"Lee S.",
     "DateCreated":"\/Date(1312550920383-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/485203600000\/158\/50x50\/True\/leesimpson.png",
     "StartingActivityId":17145,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":6,
     "CreatorName":"Gordon R.",
     "DateCreated":"\/Date(1310443077727-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/827024830000\/7\/50x50\/True\/gordonross.jpg",
     "StartingActivityId":17118,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":38,
     "CreatorName":"Lee S.",
     "DateCreated":"\/Date(1309218832783-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/485203600000\/158\/50x50\/True\/leesimpson.png",
     "StartingActivityId":17091,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":4,
     "CreatorName":"Darren G.",
     "DateCreated":"\/Date(1308117765600-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/217655900000\/8\/50x50\/True\/darren.jpg",
     "StartingActivityId":17058,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":75,
     "CreatorName":"Isaac N.",
     "DateCreated":"\/Date(1307456556980-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/693240300000\/497\/50x50\/True\/newton.jpg",
     "StartingActivityId":17050,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":75,
     "CreatorName":"Isaac N.",
     "DateCreated":"\/Date(1307453461133-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/693240300000\/497\/50x50\/True\/newton.jpg",
     "StartingActivityId":17048,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":4,
     "CreatorName":"Darren G.",
     "DateCreated":"\/Date(1307086992503-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/217655900000\/8\/50x50\/True\/darren.jpg",
     "StartingActivityId":17033,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  },
  {
     "CreatorId":75,
     "CreatorName":"Isaac N.",
     "DateCreated":"\/Date(1306302777993-0700)\/",
     "HiddenMessages":[

     ],
     "PhotoUrl":"\/imagethumb\/693240300000\/497\/50x50\/True\/newton.jpg",
     "StartingActivityId":16998,
     "TotalHiddenMessages":0,
     "VisibleMessages":[...]
  }

], "NextActivityId":16945 }