# Kết quả tải xuống tệp

Hỏi vòng trạng thái của một lượt tải tệp về từ cloud phone.
- **Điều kiện tiên quyết**
: cloud phone phải đang bật và không bị thành viên khác chiếm giữ. Truyền
`downId`
 mà yêu cầu tải về đã trả ra.
- **Giá trị**
:
**thang giá trị khác với lượt tải lên**
:
`10`
 đang chạy,
`20`
 thành công,
`30`
 thất bại,
`40`
 đã hủy.
`downUrl`
 chỉ được điền sau khi lượt tải về thành công.
- **Lưu ý**
: trường hợp «tệp không tồn tại» do chính yêu cầu tải về báo, vì nó quét thư mục cha trước, chứ không phải endpoint này.

Endpoint: POST /api/cloudphone/download/result
Version: 2026-09-05

## Request fields (application/json):

  - `id` (string, required)
    Cloud phone ID

  - `downId` (string, required)
    File download ID

## Response 200:

  - `200` (unknown)
    Success. `data` is an object with the fields `status`, `downId` and `downUrl`.

## Response 200 fields (application/json):

  - `code` (integer, required)
    Response code, 0 indicates success,>0 indicates failure

  - `msg` (string | null, required)

  - `data` (object, required)

  - `data.status` (integer, required)
    Download file status;10:Running, 20:Successful, 30:Failed, 40:Cancelled

  - `data.downUrl` (string)
    File download URL; use it only when status is 20

  - `data.downId` (string, required)
    File download task ID

  - `requestId` (string, required)

