]> git.cworth.org Git - lmno-api/commitdiff
tictactoe: Change /move event to have data named "move", not "square"
authorCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 18:30:06 +0000 (11:30 -0700)
committerCarl Worth <cworth@cworth.org>
Mon, 1 Jun 2020 18:30:06 +0000 (11:30 -0700)
We're intentionally being more generic here that the API could be
generalized, (allowing for an implementation in a base class handling
things in the general case).

tictactoe.txt

index b79f72c6310905914ef31ae64c38426e3ac392a4..2211a05984ca32d1d30d51eee934f5f7f1d5ec6f 100644 (file)
@@ -50,4 +50,4 @@ For a specific game the following API endpoints are defined.
 
     Behavior: Adds a new move to the game
 
-    Example data: { "square": 4 }
+    Example data: { "move": 1 }