CreateDownloadUrl
Creates a URL for a download center task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:CreateDownloadUrl |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DownloadTaskId |
string |
Yes |
The download task ID. Note
This parameter is obtained from the TaskId response parameter of the ListDownloadTasks operation. |
137da36b41304bcd999a0a7895dc6881 |
| FileId |
string |
Yes |
The file ID. Note
This parameter is obtained from the FileId response parameter of the ListDownloadTasks operation. |
6f91885fa24b4c408d8f4eb392fd8ae6 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| FileHttpUrl |
string |
The file URL. |
http://www.xxx.com/xxx |
| RequestId |
string |
The request ID. |
EC08CC41-6870-5594-939A-F758F057898F |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Code |
string |
The API status code. |
OK |
| Message |
string |
The message returned by the API. |
Success |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"FileHttpUrl": "http://www.xxx.com/xxx",
"RequestId": "EC08CC41-6870-5594-939A-F758F057898F",
"Success": true,
"Code": "OK",
"Message": "Success"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.