Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 1.05 KB

File metadata and controls

31 lines (19 loc) · 1.05 KB

Get User Avatar

HTTP MethodURLRequires Auth
GET/api/v1/users.getAvatarno

Query Parameters

KeyExample ValueDescription
userId* or username*BsNr28znDkG8aeo7W or bobsmithThe ID or username of the user.

Example Call

With userId:

curl http://localhost:3000/api/v1/users.getAvatar?userId=BsNr28znDkG8aeo7W

With username:

curl http://localhost:3000/api/v1/users.getAvatar?username=bobsmith

Response

You will get the user avatar image or a redirect to the image URL.

Change Log

Version Description
0.50.0 Added