# 获取文件上传 URL

申请一个预签名 URL，用于上传将要发送给云手机的文件。
- **前置条件**：云手机必须已开机且未被其他成员占用。
- **副作用**：不持久化任何东西——URL 是即时生成的。
- **完成信号**：同步。**预签名 URL 有效期为一小时。** 用 `PUT` 把文件内容上传到该地址，然后调用上传登记接口；对象还不存在就去登记会被拒绝。
- **说明**：用同一个文件名再次上传会覆盖上一个对象。临时对象会在 7 天后自动删除。

Endpoint: POST /cloudphone/uploadUrl
Version: 2026-09-05
Security: Authorization

## Security:

  - `Authorization` (unknown)
    http bearer JWT

## Request fields (application/json):

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

  - `fileName` (string, required)
    Upload file name

## Response 200:

  - `200` (unknown)
    Success. `data` is an object with the fields `presignedUrl`.

## Response 200 fields (application/json):

  - `code` (integer, required)
    Return result code 0:Normal Other codes are exceptions.

  - `msg` (string | null, required)
    error message

  - `data` (object, required)

  - `data.presignedUrl` (string, required)
    File upload URL use https PUT uploading files to cloud storage

  - `requestId` (string, required)

