AppHub Tether — CloudStore
CloudStore Get
Retrieves one or all JSON values saved for the current AppHub user under your app. Omit cloudkey to fetch all keys at once.
POST
http://127.0.0.1:7420/cloudstore/get
Requires
Authorization: AppID:AppKey — launch token alone is not accepted. See CloudStore Authentication
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
| cloudkey | string | optional | Key to fetch. Omit (or send empty body {}) to fetch all keys. |
Test this endpoint
Headers
Body
Responses 200
{
"ok": true,
"success": true,
"scope": "single",
"cloudkey": "save-slot-1",
"dataobject": {
"level": 15,
"score": 4800,
"inventory": ["sword", "shield"]
}
}
{
"ok": true,
"success": true,
"scope": "all",
"count": 2,
"data": [
{ "cloudkey": "save-slot-1", "dataobject": { "level": 15 } },
{ "cloudkey": "settings", "dataobject": { "music": true } }
]
}
Errors
| Reason | Cause |
|---|---|
missing_app_credentials | Authorization: AppID:AppKey header not sent |
no_account | No user is logged in to AppHub |
upstream_error | CloudStore API returned an error (key not found returns HTTP 404 upstream — ok will be false) |