-
Notifications
You must be signed in to change notification settings - Fork 302
Webhooks
ElJeffe edited this page Apr 7, 2021
·
1 revision
When certain game actions occur, a JSON document is POSTed to a given URL. The expectation is that something is listening on the other end which understands how to differentiate updates using the "action" property.
Events which fire:
- Game start - "game_start"
- Game stop - "game_stop"
The following events all have "user" and "team" properties to indicate who caused the event:
- Flag capture - "capture_flag" - includes flag name, value, and scored value
- Flag attempt failure - "capture_failed" - includes flag name and value
- Box complete - "box_complete" - includes box name, reward, type, and difficulty
- Level complete - "level_complete" - includes level name, number, type, and reward