The profile data API
"A person in its life is as a player."
(Configuring the environment):
- git clone https://github.com/hex-g/player.git
- cd player
- git checkout [branch]
- git submodule init
- git submodule update
- Run the project in your IDE
URL:
http://localhost:9600/
If an request profile data does not exist then a new one will be created.
header
- key:
authenticated-user-id
- value: [string]
- key:
Inserts a new profile data or updates an existent.
header
- key:
authenticated-user-id
- value: [string]
- key:
body JSON
- value:
{ "loginAlias": string, "email": string, "telnumber": string, "flavorText": string, "birthday": string, "options": { "laurel_wreath": string, "honorific": string, "darkmode": string["on"/"off"], "notify_hiveshare": string["on"/"off"], "notify_hivecentral": string["on"/"off"], "notify_disciplines": string["on"/"off"] }, "social": { "github": string, "linkedIn": string, "twitter": string } }