v1

latestOpenAPI 3.0.12026-07-24128351404.9 KB
Common Interface

Upload files

File upload interface, used to upload files to the platform, supporting batch file stream upload.

Supported file types:

  • Images: .jpg, .jpeg, .png, .gif, .bmp, .svg, .ico, .webp
  • Documents: .pdf, .doc, .xls, .ppt, .txt, .docx, .xlsx, .pptx
  • Archives: .zip, .rar, .7z, .tar, .gz

Note: We will detect file content to verify that the actual file type matches the extension.

post/open-api/v3/files/upload

Response

OK

codestring

Error code

messagestring

Error message

Example response

{
  "code": "400001",
  "message": "Invalid parameter",
  "data": [
    {
      "accountId": "ba0a5c6d-ee96-4c44-82f1-dc306d325d8e",
      "createTime": "1755501328659"
    }
  ]
}