Cancels queued URL upload tasks.
Operation description
Only URL upload nodes in the Pending state can be canceled. You can query the node status by calling the GetURLUploadInfos operation.
You cannot cancel upload nodes that have already started to execute.
You must specify either the JobIds or UploadUrls request parameter. If both are specified, only JobIds is processed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vod:CancelUrlUploadJobs |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JobIds |
string |
No |
The list of task IDs. You can obtain the task ID (JobId) from the PlayInfo struct returned by the GetPlayInfo operation.
Note
You must specify either JobIds or UploadUrls. If both are specified, only JobIds is processed. |
341c92e6c18dc435ee31253685****,0193d395194a83ad6ee2ef27a5b5**** |
| UploadUrls |
string |
No |
The list of source video URLs to upload. Separate multiple URLs with commas (,). A maximum of 10 URLs are supported. Note
|
http://www.example.aliyundoc.com/***/video01.mp4,http://www.example.aliyundoc.com/***/video02.mp4 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response result. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4D5C-3C3D-D7393642**** |
| CanceledJobs |
array |
The list of successfully canceled tasks. |
|
|
string |
The list of successfully canceled tasks. The returned value is JobId. |
341c92e6c18dc435ee31253685****,0193d395194a83ad6ee2ef27a5b5**** |
|
| NonExists |
array |
The list of tasks that do not exist. |
|
|
string |
The list of non-existent JobIds or URLs. If the request parameter is JobIds, the returned value is JobId. If the request parameter is UploadUrls, the returned value is the URL. |
http://www.example.aliyundoc.com/***/video01.mp4,http://www.example.aliyundoc.com/***/video02.mp4 |
Examples
Success response
JSON format
{
"RequestId": "25818875-5F78-4D5C-3C3D-D7393642****",
"CanceledJobs": [
"341c92e6c18dc435ee31253685****,0193d395194a83ad6ee2ef27a5b5****"
],
"NonExists": [
"http://www.example.aliyundoc.com/***/video01.mp4,http://www.example.aliyundoc.com/***/video02.mp4"
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.