Upload a file using standard multipart/form-data encoding.
Authorization token obtained from api.sinancode.com
The file to upload (max 50MB)
File uploaded successfully
Public URL to access the uploaded file (global)
"https://upload-tmp.sinancode.com/uploads/user123/abc123def456.png"
Public URL to access the uploaded file (China)
"https://beijing-user-upload-tmp.tos-cn-beijing.volces.com/uploads/user123/abc123def456.png"
Storage key of the uploaded file
"uploads/user123/abc123def456.png"
Hash of the file content (SHA-256 truncated)
"d41d8cd98f00b204e9800998ecf8427e"
File size in bytes
12345
MIME type of the file
"image/png"
Expiration time of the file (ISO 8601)
"2024-01-17T00:00:00.000Z"