# 上传静态资源 (/docs/api/native/application/uploadAssets)



`POST /application/v1/assets/upload`

Upload one batch: files maps hash to base64 content. The last batch returns the completion token.

**支持状态: supported**

## 请求体 (application/json) [#请求体-applicationjson]

必填: true

| 名称    | 类型     | 说明                             |
| ----- | ------ | ------------------------------ |
| jwt   | string | Upload token from the session. |
| files | object | Hash → base64 file content.    |

```json
{
  "type": "object",
  "required": [
    "jwt",
    "files"
  ],
  "properties": {
    "jwt": {
      "type": "string",
      "description": "Upload token from the session."
    },
    "files": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Hash → base64 file content."
    }
  }
}
```

## 响应 [#响应]

### HTTP 200 [#http-200]

Success

**application/json**

| 名称 | 类型 | 说明 |
| --- | --- | --- |
| jwt | string &#124; null | Completion token after the last batch; null for earlier batches. |
