Launcher
Launcher operations are used by the game launcher client to check API availability, report events, send hardware profiles, and submit crash reports.
Health check
health
Description
Checks launcher API availability.
Input
The operation does not accept variables.
Result
Response type - Boolean!.
Errors
PROJECT_NOT_FOUND- project was not found.LAUNCHER_DISABLED- launcher API is disabled.
Exchange example
Request
documentId: health
{
"documentId": "health",
"variables": {}
}
Response
200 OK
{
"data": {
"health": true
}
}
Related types
Launcher event
reportLauncherEvent
Description
Reports a launcher event such as launch, login, download start, download finish, or another client action.
Input
| Field | Type | Required | Description |
|---|---|---|---|
launcherKey | String! | ✓ | Launcher key |
launcherId | String | - | Installed client ID |
event | String! | ✓ | Event name |
launcherVersion | String | - | Launcher version |
payload | JSON | - | Additional event data |
Result
Response type - Boolean!.
Errors
VALIDATION- required fields are missing.INVALID_LAUNCHER_KEY- launcher key is invalid.
Exchange example
Request
documentId: reportLauncherEvent
{
"documentId": "reportLauncherEvent",
"variables": {
"launcherKey": "launcher-key",
"launcherId": "launcher-id",
"event": "launcher_opened",
"launcherVersion": "1.0.0",
"payload": {}
}
}
Response
200 OK
{
"data": {
"reportLauncherEvent": true
}
}
Related types
Hardware profile
reportHardware
Description
Reports a device hardware profile for diagnostics, protection, and support.
Input
| Field | Type | Required | Description |
|---|---|---|---|
launcherKey | String! | ✓ | Launcher key |
hardware | JSON! | ✓ | Hardware profile |
Result
Response type - Boolean!.
Errors
VALIDATION- hardware profile is missing.INVALID_LAUNCHER_KEY- launcher key is invalid.
Exchange example
Request
documentId: reportHardware
{
"documentId": "reportHardware",
"variables": {
"launcherKey": "launcher-key",
"hardware": {
"cpu": "Intel Core",
"gpu": "NVIDIA",
"ram": 16
}
}
}
Response
200 OK
{
"data": {
"reportHardware": true
}
}
Related types
Crash report
reportCrash
Description
Reports a launcher or game client crash.
Input
| Field | Type | Required | Description |
|---|---|---|---|
launcherKey | String! | ✓ | Launcher key |
crash | JSON! | ✓ | Crash data |
Result
Response type - Boolean!.
Errors
VALIDATION- crash data is missing.INVALID_LAUNCHER_KEY- launcher key is invalid.
Exchange example
Request
documentId: reportCrash
{
"documentId": "reportCrash",
"variables": {
"launcherKey": "launcher-key",
"crash": {
"message": "Unhandled exception",
"stack": "stack trace",
"launcherVersion": "1.0.0"
}
}
}
Response
200 OK
{
"data": {
"reportCrash": true
}
}