Cancels URL upload tasks that are in the queue.
Operation description
You can cancel only URL upload nodes whose status is Pending. You can call the GetURLUploadInfos operation to query the node status.
Upload nodes that have already started to execute cannot be canceled.
The request parameters JobIds and UploadUrls must have one specified. 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 upload URLs. 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 parameters. |
||
| RequestId |
string |
The request ID. |
25818875-5F78-4D5C-3C3D-D7393642**** |
| CanceledJobs |
array |
The list of tasks that were successfully canceled. |
|
|
string |
The list of tasks that were successfully canceled. The return values are JobIds. |
341c92e6c18dc435ee31253685****,0193d395194a83ad6ee2ef27a5b5**** |
|
| NonExists |
array |
The list of tasks that do not exist. |
|
|
string |
The list of JobIds or URLs that do not exist. If the request parameter is JobIds, the return values are JobIds. If the request parameter is UploadURLs, the return values are URLs. |
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.