Queries the virtual studio templates within your Alibaba Cloud account.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
StudioId | string | No | The ID of the virtual studio template that you want to query. This parameter is optional. | dbe61b87-db9a-448f-8757-a875edb3f944 |
StudioName | string | No | The name of the virtual studio template. | sub02 |
PageNumber | integer | No | The page number. Default value: 1. | 1 |
PageSize | integer | No | The number of entries per page. Default value: 10. Valid values: 1 to 50. | 10 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "16A96B9A-F203-4EC5-8E43-CB92E68F4CD8",
"Total": 100,
"PageNumber": 1,
"PageSize": 10,
"StudioConfigs": {
"SubtitleConfig": [
{
"MediaType": "VOD",
"MediaLayout": "\"{\\\"positionY\\\":\\\"0.0\\\",\\\"positionX\\\":\\\"0.0\\\",\\\"heightNormalized\\\":\\\"0.5\\\"}\"",
"MediaResourceUrl": "https://testbucket.xx.com/2.jpg",
"MediaResourceId": "\t\nd0eb493192c771efba644531858c0102\n",
"BackgroundType": "VOD",
"BackgroundResourceUrl": "https://testbucket.xx.com/2.jpg",
"BackgroundResourceId": "d0eb493192c771efba644531858c0102",
"Description": "user defined description",
"TemplateId": "24654384-f5ac-40ea-823b-74e85a61dd9f",
"TemplateName": "studio1",
"MattingLayout": "\"{\\\"positionY\\\":\\\"0.0\\\",\\\"positionX\\\":\\\"0.0\\\",\\\"heightNormalized\\\":\\\"0.5\\\"}\"",
"MattingType": "complex",
"Height": "1080",
"Width": "1920",
"RuleIds": {
"ruleId": [
"2414378f-541a-48d3-be0c-535212f9a6b4"
]
}
}
]
}
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | LiveServiceNotFound | %s |
400 | InvalidParameter.PurchaseTime | %s |
400 | InvalidParameter.ExpireTime | %s |
400 | MissingParameter | %s |
400 | InvalidChargeType.Malformed | %s |
400 | InvalidChargeType.PostSupport | %s |
400 | InvalidCasterTemplate.Malformed | %s |
400 | InvalidParameter.Malformed | %s |
400 | InvalidParameter.ChargeType | %s |
400 | InvalidPeriod.Malformed | %s |
400 | InvalidUserId.Malformed | %s |
400 | InvalidClientToken.Malformed | %s |
400 | IncorrectCasterStatus | %s |
401 | CasterNumberExceed | %s |
403 | PermissionDenied | %s |
404 | InvalidParameter.NormType | %s |
404 | InvalidConfiguration.NotFound | %s |
408 | DescribeLiveAIStudio.Timeout | %s |
For a list of error codes, visit the Service error codes.