User

Get User

GET /user/{UUID}

Notes

  • If left empty, it will get the owner of the token info

  • You can only get the owner of the tokens email, anyone else will always show as null

Scopes

user.get, user.email

Response

{
    "uuid": "string",
    "username": "string",
    "display_name": "string",
    "email": "string",
    "email_verified": "boolean",
    "badge": ["array"],
    "bio": "string",
    "joined": timestamp
}

Follow/Unfollow

POST /follow/{UUID}

Scopes

user.get, user.follow

Response

{
    "action": "followed",
    "uuid": "string"
}
{
    "action": "unfollowed",
    "uuid": "string"
}

Following

GET /follow/{UUID}/following

Scopes

user.get, user.following.get

Response

{
    "following": ["array"]
}

Followers

GET /follow/{UUID}/followers

Scopes

user.get, user.followers.get

Response

{
    "followers": ["array"]
}

Last updated