get
/meexperimentalWymagana sesjaReturns the caller's own name, email, locale and the sign-in methods linked to the account.
Odpowiedzi
200SuccessPole Typ Wymagane Ograniczenia Opis name string Tak - - email string Tak format: "email"- locale UserLocale Tak - The account's UI language preference. signInMethods array of SignInMethod Tak - - Przykład{ "name": "Kamil", "email": "kamil@example.com", "locale": "en", "signInMethods": [ "password" ] }401Not authenticatedBrak treści.
404Not foundBrak treści.
Przykładowe żądanie
curl -X GET 'https://mercastra.cloud/api/me' \ -H 'Cookie: session=<session cookie>'