Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 1.53 KB

README.md

File metadata and controls

58 lines (51 loc) · 1.53 KB

skillTree


The profile data API

"The player has a skill tree, the skill tree is categorized by class and every time you complete a task its progress increase"

First steps

(Configuring the environment):

  1. git clone https://github.com/hex-g/skillTree.git
    1. cd skillTree
  2. git checkout [branch]
  3. git submodule init
  4. git submodule update
  5. Run the project in your IDE

Usage

URL: http://localhost:9600/

#c5f015 GET

If an request profile data does not exist then a new one be created.

  • header
    • key: authenticated-user-id
    • value: [string]

#1589F0 POST

Inserts a new profile data or updates an existent.

  • header
    • key: authenticated-user-id
    • value: [string]
  • 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
            }
        }