# 根据标签获取文件信息

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/admin/label_file_binding/get_file_by_label:
    get:
      summary: 根据标签获取文件信息
      deprecated: false
      description: ''
      tags:
        - admin/tag
      parameters:
        - name: label_id
          in: query
          description: 多个逗号分隔
          required: false
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    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
                        label_list:
                          type: array
                          items:
                            type: object
                            properties:
                              id:
                                type: integer
                              type:
                                type: integer
                              name:
                                type: string
                              description:
                                type: string
                              bg_color:
                                type: string
                              create_time:
                                type: string
                            required:
                              - id
                              - type
                              - name
                              - description
                              - bg_color
                              - create_time
                            x-apifox-orders:
                              - id
                              - type
                              - name
                              - description
                              - bg_color
                              - create_time
                      required:
                        - id
                        - path
                        - name
                        - size
                        - is_dir
                        - modified
                        - created
                        - sign
                        - thumb
                        - type
                        - hashinfo
                        - label_list
                      x-apifox-orders:
                        - id
                        - path
                        - name
                        - size
                        - is_dir
                        - modified
                        - created
                        - sign
                        - thumb
                        - type
                        - hashinfo
                        - label_list
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 200
                message: success
                data:
                  - id: '254070892733601'
                    path: /redis-desktop-manager-0.8.3-2550.dmg
                    name: redis-desktop-manager-0.8.3-2550.dmg
                    size: 18295365
                    is_dir: false
                    modified: '2020-09-04T14:53:51+08:00'
                    created: '2018-06-28T09:50:15+08:00'
                    sign: qbfCzvy-Fxi1SzUP8bpugeZHJNOHyE2Q5cq5NiYUup8=:0
                    thumb: ''
                    type: 0
                    hashinfo: '{"md5":"b72197247f28f34aab543d7eebd94c05"}'
                    label_list:
                      - id: 3
                        type: 1
                        name: 测试标签1
                        description: ''
                        bg_color: ''
                        create_time: '2025-07-03T11:57:32.601095+08:00'
                  - id: '103131660682597'
                    path: /Navicat15安装和破解.zip
                    name: Navicat15安装和破解.zip
                    size: 73800750
                    is_dir: false
                    modified: '2022-06-27T13:21:43+08:00'
                    created: '2020-04-30T13:53:16+08:00'
                    sign: SRqEXqJlqZadQ_9_Nd3KyYp8AmwT-oIpQfO_gGtK46A=:0
                    thumb: ''
                    type: 0
                    hashinfo: '{"md5":"06d2abbf9386c6cefe71ca59d56401b3"}'
                    label_list:
                      - id: 1
                        type: 0
                        name: 测试标签
                        description: ''
                        bg_color: ''
                        create_time: '2025-07-03T15:48:03.994034+08:00'
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: admin/tag
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6849786/apis/api-327961243-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
