Fetches the Gravatar avatar of a user
GET/users/:userId/avatar
Returns the user's Gravatar image at 128 pixels, fetched and cached by the server so neither the user's email nor the viewer's address reaches Gravatar. The server caches an image, or the absence of one, for up to 24 hours, so a changed email or Gravatar image can take that long to appear. The user can refresh their own cached avatar sooner with ImmersionProfileAvatarRefresh.
Request
Responses
- 200
- 400
- 404
- 503
- 504
The avatar image, as JPEG, PNG, GIF or WebP.
Response Headers
Cache-Control
Always public, max-age=86400.
X-Content-Type-Options
Always nosniff.
Invalid user ID.
The user does not exist or has no Gravatar image.
Gravatar failed or returned an unusable image.
Gravatar did not respond in time.