UpdateVideoDetectShotTask
Updates the status of an asynchronous task for smart video segmentation. The only supported update is to cancel the task.
Try it now
You can run this API directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After a successful run, OpenAPI Explorer can automatically generate SDK code examples.
RAM authorization
The following table describes the authorization information for this API. You can use it in the Action element of RAM policy statements to grant RAM users or RAM roles the permission to call this API. Details are as follows:
-
Action: the specific permission.
-
Access level: the access level of each operation. Valid values: Write, Read, or List.
-
Resource type: the resource types that support authorization in the operation. Details are as follows:
- Required resource types are marked with an asterisk (*).
- For operations that do not support resource-level authorization,
All resourcesis used.
-
Condition key: the condition keys defined by the cloud service itself.
-
Dependent action: other permissions required to successfully perform the operation. The caller must have the permissions of the associated operations for the operation to succeed.
| Action | Access level | Resource type | Condition key | Dependent action |
|---|---|---|---|---|
| quanmiaolightapp:UpdateVideoDetectShotTask | update | *All resources * |
| None |
Request syntax
PUT /{workspaceId}/quanmiao/lightapp/updateVideoDetectShotTask HTTP/1.1
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | The unique ID of the Model Studio workspace: Get your workspace ID | llm-xxx |
| taskId | string | Yes | Task ID | xxxx |
| taskStatus | string | Yes | Task status:
| CANCELED |
Response elements
| Element | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| requestId | string | Id of the request | 575D5893-01DB-5C81-A899-74F67616762A |
| code | string | Status code | xx |
| message | string | Error message | successful |
| success | boolean | Whether the request succeeded: true indicates success, false indicates failure | True |
| httpStatusCode | integer | HTTP status code | 200 |
| data | object | Task details | |
| taskId | string | Task ID | 3feb69ed02d9b1a17d0f1a942675d300 |
| taskStatus | string | Task status | SUCCESSED |
| taskErrorMessage | string | Error message for a failed task | xx |
Examples
Success response
JSON format
{
"requestId": "575D5893-01DB-5C81-A899-74F67616762A",
"code": "xx",
"message": "successful",
"success": true,
"httpStatusCode": 200,
"data": {
"taskId": "3feb69ed02d9b1a17d0f1a942675d300",
"taskStatus": "SUCCESSED",
"taskErrorMessage": "xx"
}
}
Error codes
Visit the Error Center to view more error codes.
Release notes
| Change time | Summary of changes | Operation |
|---|---|---|
| 2025-10-20 | Added OpenAPI | View change details |