Documentation

API /user/{userId}/status

ThoughtFarmer REST API Method: /user/{userId}/status

Gets the status of a user from the ThoughtFarmer API.
 
URL:
http://yourserver.com/api/user/{userId}/status
http://yourserver.com/api/2.0/user/{userId}/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
 userId int Required. The user id of the user whose status will be retrieved
 token string  Required. A valid token authentication parameter
Response Status Codes:
200 - Success
401 - Token parameter is invalid
404 - User not found

Example request
GET http://yourserver.com/api/user/{userId}/status
{
   "Status":"updated status",
   "StatusLastUpdated":"\/Date(1320721741257-0800)\/",
   "StatusLastUpdatedRelative":"Updated 4 hours ago"
}