# 列出文件目录

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/fs/list:
    post:
      summary: 列出文件目录
      deprecated: false
      description: ''
      tags:
        - fs
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: '{{alist_token}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                path:
                  type: string
                  title: 路径
                password:
                  type: string
                  title: 密码
                page:
                  type: integer
                  title: 页数
                per_page:
                  type: integer
                  title: 每页数目
                refresh:
                  type: boolean
                  title: 是否强制刷新
              required:
                - path
                - password
                - page
                - per_page
                - refresh
              x-apifox-orders:
                - path
                - password
                - page
                - per_page
                - refresh
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    title: 状态码
                  message:
                    type: string
                    title: 信息
                  data:
                    type: object
                    properties:
                      content:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            path:
                              type: string
                            name:
                              type: string
                            size:
                              type: integer
                            is_dir:
                              type: boolean
                            modified:
                              type: string
                            created:
                              type: string
                            sign:
                              type: string
                            thumb:
                              type: string
                            type:
                              type: integer
                            hashinfo:
                              type: string
                            hash_info:
                              type: object
                              properties:
                                md5:
                                  type: string
                              required:
                                - md5
                              x-apifox-orders:
                                - md5
                            label_list:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: integer
                                  type:
                                    type: integer
                                  name:
                                    type: string
                                  create_time:
                                    type: string
                                required:
                                  - id
                                  - type
                                  - name
                                  - create_time
                                x-apifox-orders:
                                  - id
                                  - type
                                  - name
                                  - create_time
                              nullable: true
                          required:
                            - id
                            - path
                            - name
                            - size
                            - is_dir
                            - modified
                            - created
                            - sign
                            - thumb
                            - type
                            - hashinfo
                            - hash_info
                            - label_list
                          x-apifox-orders:
                            - id
                            - path
                            - name
                            - size
                            - is_dir
                            - modified
                            - created
                            - sign
                            - thumb
                            - type
                            - hashinfo
                            - hash_info
                            - label_list
                        title: 内容
                      total:
                        type: integer
                        title: 总数
                      readme:
                        type: string
                        title: 说明
                      header:
                        type: string
                      write:
                        type: boolean
                        title: 是否可写入
                      provider:
                        type: string
                    required:
                      - content
                      - total
                      - readme
                      - header
                      - write
                      - provider
                    x-apifox-orders:
                      - content
                      - total
                      - readme
                      - header
                      - write
                      - provider
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: fs
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6849786/apis/api-327961242-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
