Rezepte
ReferenceAuth

/api/v1/auth/me/colors

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.

GET/api/v1/auth/me/colors
rezepte_session<token>

Session cookie set by POST /api/v1/auth/login.

In: cookie

Response Body

application/json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api/v1/auth/me/colors"
{  "$schema": "https://example.com/api/v1/schemas/ColorUsageOutputBody.json",  "items": [    {      "color": "string",      "count": 0    }  ]}