# 文件下载结果

轮询云手机文件导出任务的状态。
- **前置条件**
：云手机必须已开机且未被其他成员占用。传入下载请求返回的
`downId`
。
- **取值**
：
**与上传是另一套刻度**
——
`10`
 进行中，
`20`
 成功，
`30`
 失败，
`40`
 已取消。只有成功后
`downUrl`
 才有值。
- **说明**
：「文件不存在」由下载请求本身报出（它会先扫描父目录），不是由本接口报出。

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)

