Documentation

/customportlets/{templateId}/data/{key} [GET]

ThoughtFarmer REST API Method: /customportlets/{templateId}/data/{key} [GET]

Retrieve the key/value data stored for a custom portlet.
 
URL:
http://yourserver.com/api/customportlets/{templateId}/data/{key}

Response Formats:
JSON, XML

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
templateId int Required. The portlet template id.
key string Required. The key to lookup value for.

Response Status Codes:
200 - Success
401 - Token parameter is invalid

Example request
GET http://yourserver.com/api/customportlets/641/data/MyKey
{
    "key": "MyKey",
    "value": "MyValue"
}