Query Data
Retrieves stored personal data.
Source Code
playNANOOHandlers.storageLoad = function(args) {
var result = plugin['v20221001'].storage.load({
parameters : {
storageKey : "STORAGE_KEY"
}
});
if(result.statusCode == 200) {
var parse = JSON.parse(result.body);
log.debug(parse.PlayerId);
log.debug(parse.StorageKey);
log.debug(parse.StorageValue);
return {
status : "success"
}
} else {
return {
status : "fail"
}
}
}
Request Parameter
| Parameter | Description | Type |
|---|---|---|
| storageKey | Storage data key | string |
Response
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
{
"PlayerId" : "String",
"StorageKey" : "String",
"StorageValue" : "String"
}
Response Details
| Data Key | Description | Type |
|---|---|---|
| PlayerId | Player ID | string |
| StorageKey | Storage data key | string |
| StorageValue | Storage data information | string |