Player notification
v1.0.0This method sends the notification request about the action of the player in game. Available only for AVIATOR
- Path: /playerNotificationCallback
- Request Method: POST
- Content-Type: application/json; charset=utf-8
- Headers: X-Art-Client-ID, X-Art-Client-TS, X-Art-Client-Signature
Request
| Parameter | Type | Description |
|---|---|---|
| user_id | string | Player ID |
| game | string [game enum] | Identifies specific game. (game identificator) |
| session_token | string | Game session token |
| platform | string [platform enum] | Enum: mobiledesktop |
| notification | string | The type of notification Enum: reality_check |
| notification_data | object | The necessary data object for notification |
| action | string | Enum: STOPCONTINUE |
Response
| Parameter | Type | Description |
|---|---|---|
| code | integer [enum] | Response code |
| message | string | Response any logical message |
Important!
Each request sent to the API requires validation using specific security headers. For details on implementing this, refer to Securing API Requests.
Reality check is available only for the game AVIATOR
Possible codes
- 200 - Success
- 413 - Invalid Client-Signature
If code is 200 - operator should always return parameter data with information; HTTP status code should always be 200