---
title: "查询当前用户信息 (user:profile)"
method: GET
path: "/user/profile"
tags: ["user"]
---

# 查询当前用户信息 (user:profile)

`GET /user/profile`

## Response `200`

查询成功

- Profile
  - `username` string
  - `friendly_name` string
  - `student_id` string — 学号或工号

## Changes

- **2024-08-14** `31431aaf46d3` — 1 info
  - endpoint added
- **2024-08-12** `abf18f0fc1b3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/changes/user/profile/get.md)

---

[API](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1.md) · [All operations](https://skmtc.dev/acmclassoj/apis/acmoj-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/acmclassoj/acmoj-api-v1/revisions/b263b49cfa50/schema)
