---
title: "GET /v1/users/{userID}"
method: GET
path: "/v1/users/{userID}"
tags: ["MiniBlog"]
---

# GET /v1/users/{userID}

`GET /v1/users/{userID}`

GetUser 获取用户信息

## Path parameters

- `userID` string, required

## Response `200`

OK

- V1GetUserResponse — GetUserResponse 表示获取用户响应
  - `user` V1User — User 表示用户信息
    - `userID` string — userID 表示用户 ID
    - `username` string — username 表示用户名称
    - `nickname` string — nickname 表示用户昵称
    - `email` string — email 表示用户电子邮箱
    - `phone` string — phone 表示用户手机号
    - `postCount` string — postCount 表示用户拥有的博客数量
    - `createdAt` string, date-time — createdAt 表示用户注册时间
    - `updatedAt` string, date-time — updatedAt 表示用户最后更新时间

## Changes

- **2026-07-17** `260806329592` — 1 breaking, 8 warning, 1 info
  - the `user` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - removed the optional property `user/createdAt` from the response with the `200` status
  - removed the optional property `user/email` from the response with the `200` status
  - removed the optional property `user/nickname` from the response with the `200` status
  - …6 more
- **2024-04-03** `ae599f31f558` — 1 warning, 12 info
  - removed the optional property `user` from the response with the `200` status
  - api operation id `MiniBlog_GetUser` removed and replaced with `UserCenter_GetUser`
  - api tag `UserCenter` added
  - api tag `MiniBlog` removed
  - …9 more

[Change history](https://skmtc.dev/onexstack/apis/miniblog-api/changes/v1/users/:userID/get.md)

---

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