Skip to content
中文

Upload assets

POST /application/v1/assets/upload

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

Support: supported

Request body (application/json)

Required: true

NameTypeDescription
jwtstringUpload token from the session.
filesobjectHash → 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."
}
}
}

Response

HTTP 200

Success

application/json

Name Type Description
jwt string | null Completion token after the last batch; null for earlier batches.