Application
上传静态资源
上传静态资源
POST /application/v1/assets/upload
Upload one batch: files maps hash to base64 content. The last batch returns the completion token.
支持状态: supported
请求体 (application/json)
必填: true
| 名称 | 类型 | 说明 |
|---|---|---|
| jwt | string | Upload token from the session. |
| files | object | Hash → base64 file content. |
{
"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
Success
application/json
| 名称 | 类型 | 说明 |
|---|---|---|
| jwt | string | null | Completion token after the last batch; null for earlier batches. |