Generates the parameters and signature required for a file upload URL.
Operation description
- You can directly upload a file to Object Storage Service (OSS) by using a form based on the returned value of this operation.
- For more information about how to upload a file to OSS by using a form, see OSS documentation.
- The system periodically deletes files that are uploaded to OSS.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
FileName | string | Yes | The name of the file to be uploaded. | file-list.txt |
Response parameters
Examples
Sample success responses
JSON
format
{
"Endpoint": "oss-cn-shenzhen.aliyuncs.com",
"RequestId": "F4EEB401-DD21-588D-AE3B-1E835C7655E1",
"ExpireTime": 1654326678,
"Success": true,
"Code": "200",
"TempFileKey": "temp/1440155109798732/upload/2022-07-29/49bed34c-b430-4e7e-89b1-4be2b734f95c/iaclone.diff",
"Message": "successful",
"BucketName": "hbr-temp-bucket",
"OssAccessKeyId": "LTAI****Up",
"Policy": "eyJleH****V19",
"Signature": "RmhI****0A="
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history