delete.cache
This service allows you to delete cached service responses by
providing it with a list of valid cache ids.
About
Supported Formats
XMLJSONPHP
Attributes
Cacheable - No
Cache TTL - N/A
Secure - Yes
Metered - Yes
Limit - 100 Requests
Limit Cycle - 24 Hrs.
Parameters
key - (string) The API key associated with your application. [REQUIRED]
ids - (array) An array containing a list of cache ids.
Example Request
The following POST or GET data will delete cached service responses associated with the given set of ids:
key = API_KEY
ids[0] = 32f729682254d2401525ca5cbfd0e202
ids[1] = 32f729682254d2401525ca5cbfd0e203
ids[2] = 32f729682254d2401525ca5cbfd0e204
Example Responses
The generated response of this service will contain standard
header information as well as a list of cache ids which were
initially provided. Each cache id will have an attribute entitled
cleared which will have a value of either
TRUE or FALSE, signifiying whether or not
the cache was successfully deleted.
Below you will find some examples of what a search response
would look like. Although some provides may return
provider-specific fields, all providers must return the
following:
id - A 32-character unique cache id the system attempted to clear.
@cleared - Will be TRUE or FALSE depending on whether the cache was cleared or not.
Files
Valid URLs
http://rest.snag.gr/images/delete.cache.xmlhttp://rest.snag.gr/images/delete.cache.jsonhttp://rest.snag.gr/images/delete.cache.php