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

# GET /v1/users/{userID}

`GET /v1/users/{userID}`

获取用户信息

## Path parameters

- `userID` string, required

## Response `200`

OK

- V1GetUserResponse — GetUserResponse 表示获取用户响应
  - `user` V1User — User 表示用户信息
    - `userID` string
    - `username` string
    - `nickname` string
    - `email` string
    - `phone` string
    - `postCount` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time

## Changes

- **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/2cd7efbd4c2e/schema)
