Access
Preview

Read a person's picture

The picture a person uploaded, by its digest, so an address never changes what it shows and may be cached for good. Any signed-in person may read it, as anyone who sees the person's name sees their picture.

GET
/users/{userId}/avatars/{digest}
cookiebetter-auth.session_token<token>

Better Auth session cookie. Production uses the __Secure- prefixed name.

userId*string
Lengthlength <= 128
digest*string
Match^[0-9a-f]{64}$

Response Body

The image, as uploaded.

response?fileimage/*
Formatbinary
Example Request
curl -X GET 'https://wardn.example.com/api/v1/users/string/avatars/string'
Example Response
"string"