Obtains the information of a file upload task.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
JobKey | string | Yes | The key of the file upload task. The key is returned when you call the CreateUploadFileJob or CreateUploadOSSFileJob operation. | 65254a49100e |
Tid | long | No | The tenant ID. Note
To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants.
| -1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BDEFE9F2-B3B4-42D0-83AE-ECF9FC067DCD",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"UploadFileJobDetail": {
"JobKey": "65254a4c1614235217749100e",
"FileName": "test.sql",
"FileSize": 2968269,
"FileSource": "datacorrect",
"UploadType": "URL",
"UploadURL": "http://xxxx/test.sql",
"UploadOSSParam": {
"Endpoint": "http://oss-cn-hangzhou.aliyuncs.com",
"BucketName": "test_bucket",
"ObjectName": "test.sql"
},
"UploadedSize": 2968269,
"JobStatus": "SUCCESS",
"JobStatusDesc": "success",
"AttachmentKey": "upload_3c7edea3-e4c3-4403-857d-737043036f69_test.sql"
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history