users
Retrieve user avatar
This endpoint returns a JSON with the avatar URL for the user.
If called with the Sec-Fetch-Dest: image header, it instead redirects to the avatar URL
get/api/users/{username}/avatar
Path parameters
usernamestring required
Query parameters
redirectstring
Redirect to the avatar url instead of returning it
Response
Avatar URL
Changes
Changed in 1 of the 82 revisions of this API.1
- ○
for the
queryrequest parameterredirect, the type was generalized from no type tostringrequest-parameter-type-generalized
- ○