Documentation

/content/{id}/flushcache [POST]

ThoughtFarmer REST API Method: /content/{id}/flushcache [POST]

Removes a content page from the cache
 
URL:
http://yourserver.com/api/content/{id}/flushcache

Response Formats:
JSON, XML

HTTP Method(s):
POST
 
Requires Authentication:
true, user making call must pass a valid token parameter and must be able to edit the content being requested

Parameters:

 Parameter Type Description
id int Required. The content id of the page
 token string  Required. A valid token authentication parameter
Response Status Codes:
200 - Success
401 - Token parameter is invalid
403 - User cannot edit the content to flush from the cache
404 - Content page not found

Example request
POST http://yourserver.com/api/content/{id}/flushcache