Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

User 1.2

Bernhard Posselt edited this page Sep 20, 2015 · 2 revisions

This API can be used to retrieve metadata about the current user

Get the status

  • Status: Implemented in 6.0.5
  • Method: GET
  • Route: /user
  • Parameters: none
  • Returns:
{
  "userId": "john",
  "displayName": "John Doe",
  "lastLoginTimestamp": 1241231233,  // unix timestamp
  "avatar": { // if no avatar exists, this is null
    "data": "asdiufadfasdfjlkjlkjljdfdf",  // base64 encoded image
    "mime": "image/jpeg"
  }
}
Clone this wiki locally