# 关注列表

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /following/list:
    get:
      summary: 关注列表
      deprecated: false
      description: 根据 user_id 查看指定人的关注列表
      tags:
        - 社交
      parameters:
        - name: user_id
          in: query
          description: ''
          required: true
          example: '10000'
          schema:
            type: string
        - name: page_num
          in: query
          description: 页码，从 0 开始
          required: false
          example: 0
          schema:
            type: integer
        - name: page_size
          in: query
          description: 单页尺寸
          required: false
          example: 10
          schema:
            type: integer
        - name: Access-Token
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
        - name: Refresh-Token
          in: header
          description: ''
          required: false
          example: ''
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                x-apifox-refs: {}
                properties:
                  base: &ref_0
                    $ref: '#/components/schemas/%E5%93%8D%E5%BA%94%E7%8A%B6%E6%80%81'
                  data:
                    type: object
                    properties:
                      items:
                        type: array
                        items:
                          $ref: >-
                            #/components/schemas/%E7%A4%BE%E4%BA%A4%E5%AF%B9%E8%B1%A1
                      total:
                        type: integer
                        description: 当前用户的全部关注数量（非 items 数量）
                        title: 全部数量
                        x-apifox-mock: '@integer(10000)'
                    x-apifox-orders:
                      - items
                      - total
                    required:
                      - items
                      - total
                    x-apifox-ignore-properties: []
                x-apifox-orders:
                  - base
                  - data
                required:
                  - base
                  - data
                x-apifox-ignore-properties: []
              example:
                base:
                  code: 10000
                  msg: success
                data:
                  items:
                    - id: '483675103821824000'
                      username: west2-online
                      avatar_url: https://west2.online/avatar-example.jpeg
                  total: 16
          headers: {}
          x-apifox-name: 成功
        x-200:失败:
          description: ''
          content:
            application/json:
              schema:
                title: ''
                type: object
                properties:
                  base: *ref_0
                x-apifox-orders:
                  - base
                required:
                  - base
                x-apifox-ignore-properties: []
              example:
                base:
                  code: -1
                  msg: 密码错误
          headers: {}
          x-apifox-name: 失败
      security: []
      x-apifox-folder: 社交
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/3905938/apis/api-141535779-run
components:
  schemas:
    社交对象:
      type: object
      properties:
        id:
          type: string
          title: 用户 ID
          description: 用户唯一标识符
          x-apifox-mock: '@increment'
        username:
          type: string
          title: 用户名
          x-apifox-mock: '@name'
        avatar_url:
          type: string
          title: 头像
          description: 图片链接，可以是本地也可以是云存储
          x-apifox-mock: '@image'
      x-apifox-orders:
        - id
        - username
        - avatar_url
      x-apifox-refs: {}
      required:
        - id
        - username
        - avatar_url
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
    响应状态:
      type: object
      properties:
        code:
          type: integer
        msg:
          type: string
      x-apifox-orders:
        - code
        - msg
      required:
        - code
        - msg
      x-apifox-ignore-properties: []
      x-apifox-folder: ''
  securitySchemes: {}
servers:
  - url: http://localhost:10001
    description: 开发环境
  - url: localhost:8888
    description: 测试环境
  - url: https://14efdb6874148af54dd6c98f749a9412-app.1024paas.com/douyin
    description: 正式环境
security: []

```
