GetVideoAnalysisConfig - Get Video Understanding configuration
Retrieves the basic configuration of Video Understanding.
Usage notes
Alibaba Cloud Model Studio lightweight applications - Video Understanding - Get configuration: use this operation to view the concurrency configuration for asynchronous tasks. Try it in the Video Understanding console. For SDK calls, see the examples under API in the console.
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 the action supports authorization:
- 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:GetVideoAnalysisConfig | get | *All resources * |
| None |
Request syntax
GET /{workspaceId}/quanmiao/lightapp/videoAnalysis/getVideoAnalysisConfig HTTP/1.1
Request parameters
| Name | Type | Required | Description | Example |
|---|---|---|---|---|
| workspaceId | string | Yes | The unique ID of the Alibaba Cloud Model Studio workspace: Obtain workspaceId | llm-xx |
Response parameters
| Name | Type | Description | Example |
|---|---|---|---|
| object | Schema of Response | ||
| requestId | string | Id of the request | 085BE2D2-BB7E-59A6-B688-F2CB32124E7F |
| code | string | Status code | xx |
| message | string | Error description | ok |
| success | boolean | Indicates whether the request succeeded: true indicates success, and false indicates failure | True |
| httpStatusCode | integer | HTTP status code | 200 |
| data | object | The number of concurrent asynchronous tasks | |
| asyncConcurrency | integer | The number of concurrent asynchronous tasks: valid range: [2~10] | 2 |
Examples
Sample success response
JSON format
{
"requestId": "085BE2D2-BB7E-59A6-B688-F2CB32124E7F",
"code": "xx",
"message": "ok",
"success": true,
"httpStatusCode": 200,
"data": {
"asyncConcurrency": 2
}
}
Error codes
For more error codes, visit the Error Center.