Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 672 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 672 Bytes

Users

Kind: global class

new Users(url)

User API JS client

Param Description
url Root path of the service, i.e. http://service-users.sol.dev/api/v1

users.theme(user_id)

Returns user's publicly available theme (name, avatar, colors).

You will get an object {"userName":"...string","avatar":"...string","background":"#42a5f5"}

Kind: instance method of Users

Param Description
user_id User id