aboutsummaryrefslogtreecommitdiff
path: root/api/readme.md
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-21 11:30:04 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-21 11:30:04 +0100
commitd8169484077c4ce25e195747602f06bce9d4ded0 (patch)
tree3c523fefec52e7ed801532d08bcebdd2511258c3 /api/readme.md
parenteed11fd96cf1458a7a91659cdf5efafbadda1b2b (diff)
changedRelation api event
Diffstat (limited to 'api/readme.md')
-rw-r--r--api/readme.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/readme.md b/api/readme.md
index 48e9b14..26ef02b 100644
--- a/api/readme.md
+++ b/api/readme.md
@@ -50,6 +50,7 @@ resign|send to resign, is then forwarded to all subscribed clients|`none`|`s <->
newMove|send a new move|`{ move: int, game_id: string }`|`s <- c`|game
registerGameListener|listen to events for a game|`{ id: string }`|`s <- c`|game
incomingFriendRequest|get notified of friend request|`none`|`s -> c`|global
+changedRelation|get notified of a different relation to someone|`{ id: string }`|`s -> c`|global
## How to test API endpoints
```sh