Queries the information about URL-based upload jobs.
Operation description
You can query the information about a URL-based upload job by specifying the upload URL or using the job ID returned when you upload media files. The information includes the status of the upload job, custom configurations, the time when the job was created, and the time when the job was complete.
If the upload fails, you can view the error code and error message. If the upload is successful, you can obtain the video ID.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
JobIds | string | No | The one or more IDs of upload jobs. You can obtain the job IDs in the response parameter JobId of the UploadMediaByURL operation.
Note
You must set one of the JobIds and the UploadURLs parameters. If you set both the JobIds and UploadURLs parameters, only the value of the JobIds parameter takes effect.
| 86c1925fba0****,7afb201e7fa****,2cc4997378**** |
UploadURLs | string | No | The one or more upload URLs of the source files. Separate multiple URLs with commas (,). You can specify a maximum of 10 URLs. Note
| http://****.mp4 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "25818875-5F78-4AF6-D7393642CA58****",
"NonExists": [
"[\"****1\", \"****2\"]"
],
"URLUploadInfoList": [
{
"CreationTime": "2019-01-01T01:01:01Z",
"Status": "SUCCESS",
"ErrorMessage": "error_message",
"ErrorCode": "200",
"CompleteTime": "2019-01-01T01:11:01Z",
"JobId": "86c1925fba0****",
"UserData": "{\"MessageCallback\":\"{\"CallbackURL\":\"http://example.aliyundoc.com\"}\", \"Extend\":\"{\"localId\":\"***\", \"test\":\"www\"}\"}",
"UploadURL": "http://****.mp4",
"MediaId": "93ab850b4f6f54b6e91d24d81d4****",
"FileSize": "24"
}
]
}
Error codes
For a list of error codes, visit the Service error codes.