Rezepte
ReferenceAuth

/api/v1/auth/me

Return the current user

GET/api/v1/auth/me
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"
{  "$schema": "https://example.com/api/v1/schemas/UserResponse.json",  "avatarId": "string",  "canSharePublicly": true,  "color": "amber",  "displayName": "string",  "email": "string",  "emailConfirmationPending": true,  "emailVerified": true,  "hasPassword": true,  "id": "string",  "locale": "en",  "role": "superadmin",  "username": "string"}