Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.03 KB

File metadata and controls

47 lines (32 loc) · 1.03 KB
description
Gets the URL for a user’s avatar.

Get Avatar

URL Requires Auth HTTP Method
/api/v1/users.getAvatar no GET

Payload

Argument Example Required Description
userId or username BsNr28znDkG8aeo7W Required The id or username of the user.

Example Call - Via userId

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

Example Result

http://localhost:3000/avatar/bobsmith

Example Call - Via username

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

Example Result

http://localhost:3000/avatar/bobsmith

N.B. the response is a 307 temporary redirect

Change Log

Version Description
0.50.0 Added