# 文件绑定标签

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/admin/label_file_binding/create:
    post:
      summary: 文件绑定标签
      deprecated: false
      description: ''
      tags:
        - admin/tag
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: false
          example: '{{alist_token}}'
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                label_ids:
                  type: string
                  description: 标签id，多个以英文逗号分隔
                name:
                  type: string
                  description: 文件名称
                id:
                  type: string
                path:
                  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
              required:
                - label_ids
                - name
                - id
                - path
                - size
                - is_dir
                - modified
                - created
                - sign
                - thumb
                - type
                - hashinfo
              x-apifox-orders:
                - label_ids
                - name
                - id
                - path
                - size
                - is_dir
                - modified
                - created
                - sign
                - thumb
                - type
                - hashinfo
            examples: {}
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      msg:
                        type: string
                    required:
                      - msg
                    x-apifox-orders:
                      - msg
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
          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-327961239-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
