UpdateVideoAnalysisTasks
Video Understanding – Batch Cancel Tasks
Try it out
You can call this operation in OpenAPI Explorer without calculating a signature. After a successful call, OpenAPI Explorer can automatically generate SDK code examples.
Authorization information
The following table describes the authorization information for this API operation. You can use this information in the Action element of a RAM policy statement to grant a RAM user or RAM role permission to call the operation. The columns are described as follows:
-
Action: a specific permission.
-
Access level: the access level of an action. Valid values: Write, Read, and List.
-
Resource type: the types of resources for which an action supports authorization. Details:
- Required resource types are marked with an asterisk (*).
- Actions that do not support resource-level authorization use
All resources.
-
Condition key: a condition key defined by the cloud service.
-
Dependent action: an additional permission required to perform the action. The caller must also have permission to perform the dependent action.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| quanmiaolightapp:UpdateVideoAnalysisTasks | update | *All resources * |
| None |
Request syntax
PUT /{workspaceId}/quanmiao/lightapp/videoAnalysis/updateVideoAnalysisTasks HTTP/1.1
Request parameters
| Name | Type | Required | Description | Example value |
|---|---|---|---|---|
| workspaceId | string | Yes | Unique identifier of the Alibaba Cloud Model Studio workspace: Obtain workspaceId | llm-xxx |
| taskIds | array | Yes | The list of task IDs | |
| string | Yes | The task ID | xxx | |
| taskStatus | string | Yes | The task status:
| CANCELED |
Response parameters
| Name | Type | Description | Example value |
|---|---|---|---|
| object | Schema of Response | ||
| requestId | string | Id of the request | 04DA1A52-4E51-56CB-BA64-FDDA0B53BAE8 |
| code | string | The response code | successful |
| message | string | The error message | success |
| success | boolean | Indicates whether the request succeeded: true indicates success, and false indicates failure | true |
| httpStatusCode | integer | The HTTP status code | 200 |
| data | array<object> | The deletion result | |
| object | The deletion result | ||
| taskId | string | The task ID | xx |
| taskStatus | string | The task status | CANCELED |
| taskErrorMessage | string | The task failure message | xx |
| taskErrorCode | string | The task failure code | xx |
Examples
Sample success response
JSON format
{
"requestId": "04DA1A52-4E51-56CB-BA64-FDDA0B53BAE8",
"code": "successful",
"message": "success",
"success": true,
"httpStatusCode": 200,
"data": [
{
"taskId": "xx",
"taskStatus": "CANCELED",
"taskErrorMessage": "xx",
"taskErrorCode": "xx"
}
]
}
Error codes
For more error codes, see Error Center.