auth

Get Me

查询当前用户信息 & 信用点余额(需 Bearer Token 认证)。

返回用户基本信息 + 信用点账户状态。 用户身份由 AuthMiddleware 注入到 request.scope['user_id']。

get/api/v1/auth/me

Request

  • Base URL: https://api.ticktest.cn (the document declares no server; this is the origin it was published from)
  • URL: https://api.ticktest.cn/api/v1/auth/me
  • Auth: none declared

Response

Successful Response

statusstring required
user_idstring nullable
namestring nullable
emailstring nullable
planstring nullable
credits_balanceinteger nullable
total_earnedinteger nullable
total_spentinteger nullable
created_atstring nullable

Changes

No recorded changes to this operation across all 1 revision of this API.