# 获取所有用户

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/v4/users:
    get:
      summary: 获取所有用户
      deprecated: false
      description: ''
      tags:
        - GitLab Api
      parameters:
        - name: page
          in: query
          description: ''
          required: false
          example: '6'
          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: array
                items:
                  type: object
                  properties:
                    id:
                      type: integer
                    username:
                      type: string
                    name:
                      type: string
                    state:
                      type: string
                    avatar_url:
                      type: string
                    web_url:
                      type: string
                  required:
                    - id
                    - username
                    - name
                    - state
                    - avatar_url
                    - web_url
              example:
                - id: 667
                  username: zhoubao
                  name: 周宝
                  state: active
                  avatar_url: >-
                    https://secure.gravatar.com/avatar/7d37738e101316ddcbdaec5fdeeb46cb?s=80&d=identicon
                  web_url: https://git.csntcorp.com/zhoubao
                - id: 666
                  username: shiendian
                  name: 史恩典
                  state: active
                  avatar_url: >-
                    https://secure.gravatar.com/avatar/7b5be9f474b84fd6ba8b1f429bbf5a0d?s=80&d=identicon
                  web_url: https://git.csntcorp.com/shiendian
          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-234615042-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
