get.cache

Providing this service with a list of cache ids will return the associated cached service response.

About

Supported Formats

  • XML
  • JSON
  • PHP

Attributes

Cacheable   - No
Cache TTL   - N/A
Secure      - Yes
Metered     - No
Limit       - N/A
Limit Cycle - N/A

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 return cached service responses corresponding to 3 cache ids:

key    = API_KEY
ids[0] = 32f729682254d2401525ca5cbfd0e202
ids[1] = 32f729682254d2401525ca5cbfd0e203
ids[2] = 32f729682254d2401525ca5cbfd0e204

Example Responses

The value of each returned entry is the service result contents of the corresponding cache id:

@id - The md5 has representing the cached service response.
  • Take note that that corresponding cached content will be returned in the format they were originally requested, regardless of the format type used to call this particular service.

Files

Valid URLs

  • http://rest.snag.gr/images/get.cache.xml
  • http://rest.snag.gr/images/get.cache.json
  • http://rest.snag.gr/images/get.cache.php

Helpful Links

Recent Discussions

No discussions yet!