Get Avatar
Gets the URL for a user’s avatar.
URL | Requires Auth | HTTP Method |
---|---|---|
/api/v1/users.getAvatar | no | GET |
Argument | Example | Required | Description |
---|---|---|---|
userId or username | BsNr28znDkG8aeo7W | Required | The id or username of the user. |
curl http://localhost:3000/api/v1/users.getAvatar?userId=BsNr28znDkG8aeo7W
http://localhost:3000/avatar/bobsmith
curl http://localhost:3000/api/v1/users.getAvatar?username=bobsmith
http://localhost:3000/avatar/bobsmith
N.B. the response is a 307 temporary redirect
Version | Description |
---|---|
0.50.0 | Added |
Last modified 1yr ago