AppHub Tether
Update
Checks whether a newer version of your app is available in the AppHub catalog compared to the currently installed version.
GET
http://127.0.0.1:7420/update
This endpoint requires AppHub Store to be running on your machine. The live tester calls your local AppHub instance directly.
Query parameters
| Parameter | Required | Description |
|---|---|---|
| appid | required | The packagename of the app to check |
Test this endpoint
Headers
Query Parameters
Success response 200
{
"ok": true,
"appid": "com.studio.mygame",
"hasUpdate": true,
"currentVersion": "1.0.0",
"latestVersion": "1.2.0"
}
Response fields
| Field | Type | Description |
|---|---|---|
| ok | boolean | true if the app is installed and the check succeeded |
| hasUpdate | boolean | true if latestVersion differs from currentVersion |
| currentVersion | string | Version string from the installed apphub.json |
| latestVersion | string | Version string from the AppHub catalog |
Errors
| Reason | Cause |
|---|---|
not_installed | The app is not installed on this machine |
missing_appid | The appid query parameter was not provided |