Skip to main content

Profile Picture API

Machine-readable spec: openapi/profile.yaml (generated from the live FastAPI app).

All endpoints require a JWT Bearer token (see authentication.md) and are served under /profile-picture.


Endpoints at a glance

MethodPathAuthSummary
GET/profile-picture/meAuthenticatedReturn the calling user's own profile picture.
POST/profile-picture/meAuthenticatedUpload/replace the calling user's profile picture (multipart/form-data, field file).
GET/profile-picture/{user_id}AuthenticatedReturn another user's profile picture by ID.

See profile.yaml for exact field-level request/response schemas, or the live server's /docs / /openapi.json.