This can be used to set a nickname, (and a set nickname can be used
instead of the "name" for the empires /register API).
- Behavior: Adds a new player with "name" and "character" and assigns an id. Also will add a new empire with empty "captured" array
+ Behavior: Adds a new player with "name" and "character" and
+ assigns an id. Also will add a new empire with empty "captured"
+ array.
+
+ Note: If the client supports cookies and has previously set a
+ nickname in the current session via the upper-level /profile API,
+ then the name can be omitted from the data here and the profile
+ nickname will be used instead.
Example data: { "name": "Carl", "character: "Elvis" }
Example data: { "name": "Carl", "character: "Elvis" }
Redirects to https://lmno.games/<game_engine>/WXYZ/
Redirects to https://lmno.games/<game_engine>/WXYZ/
+http://lmno.games/profile/
+--------------------------
+Method: PUT
+
+ Stores profile information in the current session.
+
+ Supported fields: nickname
+
+ Example data: { "nickname": "Carl" }
+
https//lmno.games/new/<engine> (POST)
-------------------------------------
Type: Dynamic
https//lmno.games/new/<engine> (POST)
-------------------------------------
Type: Dynamic