Fuselage
Powered By GitBook
Get Avatar
Gets the URL for a user’s 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

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

Example Result

1
http://localhost:3000/avatar/bobsmith
Copied!

Example Call - Via username

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

Example Result

1
http://localhost:3000/avatar/bobsmith
Copied!
N.B. the response is a 307 temporary redirect

Change Log

Version
Description
0.50.0
Added
Last modified 2mo ago