Queries the information about URL-based upload jobs.
Operation description
Query the information, including the upload status, user data, creation time, and completion time, about URL-based upload jobs based on the returned job IDs or the URLs used during the upload.
If an upload job fails, you can view the error code and error message. If an upload job is successful, you can obtain the video ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:GetUrlUploadInfos |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobIds |
string |
No |
The IDs of the upload jobs. You can specify one or more job IDs. You can obtain the job IDs from the response parameter JobId of the UploadMediaByURL operation.
Note
You must specify either JobIds or UploadURLs. If you specify both parameters, only the value of JobIds takes effect. |
df2ac80b481346daa1db6a7c40edc7f8 |
| UploadURLs |
string |
No |
The upload URLs of the source files. You can specify a maximum of 10 URLs. Separate the URLs with commas (,). Note
|
https://media.w3.org/2010/05/sintel/trailer.mp4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| NonExists |
array |
The job IDs or upload URLs that do not exist. |
|
|
string |
The job ID or upload URL that does not exist. Job IDs are returned for this parameter if you have specified JobIds in the request, and upload URLs are returned if you have specified UploadURLs in the request. |
['e3e71ae8e4a46e4893d8cadce50c3bd0'] |
|
| URLUploadInfoList |
array<object> |
The details about URL-based upload jobs. |
|
|
object |
The information about the URL-based upload job. For more information, see the "URLUploadInfo: the information about a URL-based upload job" section of the "Basic data types" topic. |
||
| CreationTime |
string |
The time when the upload job was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2021-11-07T10:03:37Z |
| Status |
string |
The status of the upload job. For more information about the valid values of the parameter, see the "Status: the status of a URL-based upload job" section of the Basic data types topic. |
Normal |
| ErrorMessage |
string |
The error message returned if the upload job failed. |
Success |
| ErrorCode |
string |
The error code returned if the upload job failed. |
200 |
| CompleteTime |
string |
The time when the upload job was complete. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC. |
2021-11-26 21:47:37 |
| JobId |
string |
The ID of the upload job. |
3829500c0fef429fa4ec1680b122d*** |
| UserData |
string |
The user data. The value is a JSON string. |
{"MessageCallback":"{"CallbackURL":"http://example.aliyundoc.com"}", "Extend":"{"localId":"***", "test":"www"}"} |
| UploadURL |
string |
The upload URL of the source file. Note
A maximum of 100 URLs can be returned. |
http://****.mp4 |
| MediaId |
string |
The ID of the uploaded media file. |
5014ca70f08171ecbf940764a0fd6*** |
| FileSize |
string |
The file size. Unit: bytes. |
64610 |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"NonExists": [
"['e3e71ae8e4a46e4893d8cadce50c3bd0']"
],
"URLUploadInfoList": [
{
"CreationTime": "2021-11-07T10:03:37Z",
"Status": "Normal",
"ErrorMessage": "Success",
"ErrorCode": "200",
"CompleteTime": "2021-11-26 21:47:37",
"JobId": "3829500c0fef429fa4ec1680b122d***",
"UserData": "{\"MessageCallback\":\"{\"CallbackURL\":\"http://example.aliyundoc.com\"}\", \"Extend\":\"{\"localId\":\"***\", \"test\":\"www\"}\"}",
"UploadURL": "http://****.mp4",
"MediaId": "5014ca70f08171ecbf940764a0fd6***",
"FileSize": "64610"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.