跳至內容
Fumadocs

Get authenticated user

GET
/me

Find yourself they say. That's what you can do here.

授權

header授權Basic <token>

Basic HTTP authentication

回應主體

Authenticated user information retrieved successfully

  1. response

A user

id?integer
格式int64
name?string
範例請求
curl -X GET 'https://galaxy.scalar.com/me'
範例回應
{
  "id": 1,
  "name": "Marc"
}