# 获取某个文件/目录信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/fs/get:
    post:
      summary: 获取某个文件/目录信息
      deprecated: false
      description: ''
      tags:
        - fs
        - fs
        - alist Copy/fs
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          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
                per_page:
                  type: integer
                refresh:
                  type: boolean
                  title: 强制 刷新
              required:
                - path
                - password
              x-apifox-orders:
                - path
                - password
                - page
                - per_page
                - refresh
            example:
              path: /t
              password: ''
              page: 1
              per_page: 0
              refresh: false
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    title: 状态码
                  message:
                    type: string
                    title: 信息
                  data:
                    type: object
                    properties:
                      name:
                        type: string
                        title: 文件名
                      size:
                        type: integer
                        title: 大小
                      is_dir:
                        type: boolean
                        title: 是否是文件夹
                      modified:
                        type: string
                        title: 修改时间
                      sign:
                        type: string
                        title: 签名
                      thumb:
                        type: string
                        title: 缩略图
                      type:
                        type: integer
                        title: 类型
                      raw_url:
                        type: string
                        title: 原始url
                      readme:
                        type: string
                        title: 说明
                      provider:
                        type: string
                      related:
                        type: 'null'
                      created:
                        type: string
                        title: 创建时间
                      hashinfo:
                        type: string
                      hash_info:
                        type: 'null'
                      header:
                        type: string
                    required:
                      - name
                      - size
                      - is_dir
                      - modified
                      - created
                      - sign
                      - thumb
                      - type
                      - hashinfo
                      - hash_info
                      - raw_url
                      - readme
                      - header
                      - provider
                      - related
                    x-apifox-orders:
                      - name
                      - size
                      - is_dir
                      - modified
                      - sign
                      - thumb
                      - type
                      - raw_url
                      - readme
                      - provider
                      - related
                      - created
                      - hashinfo
                      - hash_info
                      - header
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 200
                message: success
                data:
                  name: Alist V3.md
                  size: 2618
                  is_dir: false
                  modified: '2024-05-17T16:05:36.4651534+08:00'
                  created: '2024-05-17T16:05:29.2001008+08:00'
                  sign: ''
                  thumb: ''
                  type: 4
                  hashinfo: 'null'
                  hash_info: null
                  raw_url: http://127.0.0.1:5244/p/local/Alist%20V3.md
                  readme: ''
                  header: ''
                  provider: Local
                  related: null
          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-327955415-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
