/api/v1/auth/me/avatar
The square to keep, as x,y,size: x and y place its top-left corner as fractions of the upright image's width and height, size is its side as a fraction of the shorter side. Absent keeps the centered square.
/api/v1/auth/me/avatarAuthorization
session Session cookie set by POST /api/v1/auth/login.
In: cookie
Query Parameters
The square to keep, as x,y,size; see the operation description
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://example.com/api/v1/auth/me/avatar" \ -F file="string"{ "$schema": "https://example.com/api/v1/schemas/AvatarResult.json", "avatarId": "string"}/api/v1/auth/me/avatar DELETE
Remove the own picture
/api/v1/auth/me/colors GET
Counts, not names: the picker only needs to mark a color as taken. It sits under /auth/me because it describes what the caller may choose for themselves; /people names every account without counting colors, and everything under /users is admin-only.