Skip to content
/ player Public

🐝 Hive's profile management API 📝💬

Notifications You must be signed in to change notification settings

hex-g/player

Repository files navigation

player


The profile data API

"A person in its life is as a player."

First steps

(Configuring the environment):

  1. git clone https://github.com/hex-g/player.git
    1. cd player
  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 will 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
            }
        }

About

🐝 Hive's profile management API 📝💬

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published