# 获取单个用户

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v4/users/{用户ID}:
    get:
      summary: 获取单个用户
      deprecated: false
      description: ''
      tags:
        - GitLab Api
      parameters:
        - name: 用户ID
          in: path
          description: ''
          required: true
          example: '686'
          schema:
            type: string
        - name: PRIVATE-TOKEN
          in: header
          description: GitLab个人Token
          example: glpat-q1csJCWcYYGum_xZxHhg
          schema:
            type: string
            default: glpat-q1csJCWcYYGum_xZxHhg
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: integer
                  username:
                    type: string
                  name:
                    type: string
                  state:
                    type: string
                  avatar_url:
                    type: string
                  web_url:
                    type: string
                  created_at:
                    type: string
                  bio:
                    type: string
                  location:
                    type: string
                  public_email:
                    type: string
                  skype:
                    type: string
                  linkedin:
                    type: string
                  twitter:
                    type: string
                  website_url:
                    type: string
                  organization:
                    type: string
                  job_title:
                    type: string
                  pronouns:
                    type: string
                  bot:
                    type: boolean
                  work_information:
                    type: 'null'
                  followers:
                    type: integer
                  following:
                    type: integer
                  local_time:
                    type: 'null'
                required:
                  - id
                  - username
                  - name
                  - state
                  - avatar_url
                  - web_url
                  - created_at
                  - bio
                  - location
                  - public_email
                  - skype
                  - linkedin
                  - twitter
                  - website_url
                  - organization
                  - job_title
                  - pronouns
                  - bot
                  - work_information
                  - followers
                  - following
                  - local_time
              example:
                id: 686
                username: zhaohongfei
                name: 赵宏飞
                state: active
                avatar_url: >-
                  https://git.csntcorp.com/uploads/-/system/user/avatar/686/avatar.png
                web_url: https://git.csntcorp.com/zhaohongfei
                created_at: '2024-07-19T15:14:14.097+08:00'
                bio: "🖕🏾🖕🏻🖕🖕🏼🖕🏽🖕🏾\r\nyear:glpat-q1csJCWcYYGum_xZxHhg"
                location: ''
                public_email: ''
                skype: glpat-biLP8L6hyyJyQ62-2K47
                linkedin: ''
                twitter: ''
                website_url: ''
                organization: ''
                job_title: ''
                pronouns: ''
                bot: false
                work_information: null
                followers: 0
                following: 0
                local_time: null
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: GitLab Api
      x-apifox-status: developing
      x-run-in-apifox: https://app.apifox.com/web/project/5476045/apis/api-234616804-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
