CloudStore
Get
Retrieve a stored value by cloudkey, or omit cloudkey to fetch all keys for this user + app.
POST
/api/cloudstore/get.php
Requires
Authorization: AppID:AppKey + user tokenRequest body
| Field | Type | Required | Description |
|---|---|---|---|
| token | string | required | User session token |
| cloudkey | string | optional | If omitted, returns all keys stored for this user + app |
Test this endpoint
Headers
Body
Success — single key 200
{
"success": true,
"scope": "single",
"cloudkey": "save-slot-1",
"dataobject": { "level": 15, "score": 4800 }
}
Success — all keys 200
{
"success": true,
"scope": "all",
"count": 2,
"data": [
{ "cloudkey": "save-slot-1", "dataobject": { "level": 15 } },
{ "cloudkey": "config", "dataobject": { "music": true } }
]
}
Errors
| Code | Message |
|---|---|
| 404 | Data not found for the specified cloudkey. |