AppHub Tether
Event
Reports a named event to the AppHub launcher for analytics, achievements, or any milestone you want AppHub to be aware of.
POST
http://127.0.0.1:7420/event
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 |
|---|---|---|---|
| event | string | required | Event name, max 64 chars (e.g. level_complete, purchase) |
| appid | string | optional | Your app's packagename |
| data | object | optional | Any JSON-serializable value with additional event context |
Example request
{
"appid": "com.studio.mygame",
"event": "level_complete",
"data": { "level": 5, "score": 9800 }
}
Test this endpoint
Headers
Body
Success response 200
{ "ok": true }
Notes
| Scenario | Detail |
|---|---|
The data field | Can be any JSON-serializable value — object, array, string, or number. Pass null or omit it if no extra context is needed. |
| GET request | Only POST is accepted. GET requests return 404. |