From 9426bf42aaa7c88c86de4c3ac02a694df8362fda Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Mon, 1 Jun 2020 11:30:06 -0700 Subject: [PATCH] tictactoe: Change /move event to have data named "move", not "square" 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tictactoe.txt b/tictactoe.txt index b79f72c..2211a05 100644 --- a/tictactoe.txt +++ b/tictactoe.txt @@ -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 } -- 2.43.0