# 获取已完成任务

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /api/admin/task/upload/done:
    get:
      summary: 获取已完成任务
      deprecated: false
      description: ''
      tags:
        - admin/task/upload
        - admin/task/upload
        - alist Copy/admin/task/upload
      parameters:
        - name: Authorization
          in: header
          description: ''
          required: true
          example: '{{alist_token}}'
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                    title: 状态码
                  message:
                    type: string
                    title: 信息
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          title: id
                        name:
                          type: string
                          title: 任务名
                        state:
                          type: string
                          title: 任务完成状态
                        status:
                          type: string
                        progress:
                          type: integer
                          title: 进度
                        error:
                          type: string
                          title: 错误信息
                      x-apifox-orders:
                        - id
                        - name
                        - state
                        - status
                        - progress
                        - error
                required:
                  - code
                  - message
                  - data
                x-apifox-orders:
                  - code
                  - message
                  - data
              example:
                code: 200
                message: success
                data:
                  - id: '1'
                    name: upload 1.png to [/s](/test)
                    state: succeeded
                    status: ''
                    progress: 100
                    error: ''
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: admin/task/upload
      x-apifox-status: released
      x-run-in-apifox: https://app.apifox.com/web/project/6849786/apis/api-327955463-run
components:
  schemas: {}
  securitySchemes: {}
servers: []
security: []

```
