UpdateVideoDetectShotTask

Updated at:

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.

Try it now

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 resources is 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.

ActionAccess levelResource typeCondition keyDependent action
quanmiaolightapp:UpdateVideoDetectShotTaskupdate
*All resources
*
    None
None

Request syntax

PUT /{workspaceId}/quanmiao/lightapp/updateVideoDetectShotTask HTTP/1.1

Request parameters

ParameterTypeRequiredDescriptionExample
workspaceIdstringYes

The unique ID of the Model Studio workspace: Get your workspace ID

llm-xxx
taskIdstringYes

Task ID

xxxx
taskStatusstringYes

Task status:

  • CANCELED: Cancel the task
CANCELED

Response elements

ElementTypeDescriptionExample
object

Schema of Response

requestIdstring

Id of the request

575D5893-01DB-5C81-A899-74F67616762A
codestring

Status code

xx
messagestring

Error message

successful
successboolean

Whether the request succeeded: true indicates success, false indicates failure

True
httpStatusCodeinteger

HTTP status code

200
dataobject

Task details

taskIdstring

Task ID

3feb69ed02d9b1a17d0f1a942675d300
taskStatusstring

Task status

SUCCESSED
taskErrorMessagestring

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 timeSummary of changesOperation
2025-10-20Added OpenAPIView change details