Query Data
Queries cached data.
Source Code
var result = pluginCache.get({
version : "v4",
parameters : {
cacheKey : "CACHE_KEY"
}
});
var parse = JSON.parse(result.body);
if(parse.code == 200) {
log.debug("success");
log.debug(parse.value.toString());
} else {
log.debug("fail");
}
Request Parameter
Parameter | Description | Type |
---|---|---|
cacheKey | Cache data key | string |
Communication Result
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"code" : 200,
"message" : 0,
"value" : "String"
}
Communication Result Details
Data Key | Description | Type |
---|---|---|
value | Cached data value | string |