How to read the JSON in GRID Support notifications
Article 4046728, Status: VALIDATED
Table of Contents
❓ Issue/Question
- What does the JSON at the bottom of GRID Support notifications contain?
- What fields are in a GRID ops channel message?
- What do
seriesID,new_seriesID,map_scoreandseries_scoremean in a notification?
🖥️ Environment/Context
- GRID Support notifications in your dedicated ops channel
👌 Resolution/Answer
- Every Support notification has two parts: a short sentence for people to read, and a JSON block at the end for your code to read.
- Subject:
<tournament>: <team A> vs <team B> - Keys in every notification:
-
grid_event: the notification type -
seriesID: the GRID Series ID the notification is about -
match: the two teams, asTeam A vs Team B -
tournament: the tournament name
-
- Keys only some notifications have (only included when they have a value):
-
new_seriesID: the replacement Series ID (Series_Recreation) -
new_date,new_time: the new start (Reschedule). Date isDD.MM.YYYY, time is 24-hour UTC, for example18:00 UTC -
map: the map (game) number (Forfeit_Map,Game_End) -
map_score: the score of that map (Game_End) -
series_score: the series score (Forfeit_Map,Forfeit_Series) -
winner,loser: team names (Forfeit_Map,Forfeit_Series,Game_End) -
message: free text from Support (Custom_Message)
-
- All values are strings.
- If Support gives a reason, it appears only in the readable sentence, not in the JSON.
Example
Hello,
The match between BBBMBCBS vs Downforce (European Pro League Asia - Regular Season 1 (Group Stage)) | Series ID - 3024481, has been postponed. We will inform the new time as soon as it is confirmed by the Tournament Organizer.
Thanks,
Support Team
{
"grid_event": "Reschedule_Unkown_Date",
"seriesID": "3024481",
"match": "BBBMBCBS vs Downforce",
"tournament": "European Pro League Asia - Regular Season 1 (Group Stage)"
}🗒️Scratch Pad
For the full list of notification types, see How to tell why GRID Support sent a notification (grid_event values). To process notifications in code, see How to handle GRID Support notifications automatically in your code.