Get an avatar file
GET/api/files/pfps/:file
Serves an avatar image from private storage, inline. Any signed-in user may fetch one (avatars are shown throughout the app). The filename is rejected if it contains a path-traversal sequence.
Auth: required
Request
Responses
- 200
- 400
- 401
- 404
- 500
The image bytes (inline).
Invalid filename.
Not signed in.
File not found.
Server error.