tencent cloud

All product documents
APIs
DocumentationAPIsCloud InfiniteSmart AudioSpeech Bucket APIsQuerying Speech Recognition Activation Status
Querying Speech Recognition Activation Status
Last updated: 2024-02-18 17:02:09
Querying Speech Recognition Activation Status
Last updated: 2024-02-18 17:02:09

Feature Description

This API (DescribeSpeechBuckets) is used to query whether the speech recognition feature is enabled for a bucket.

Request

Sample request

GET /asrbucket HTTP/1.1
Host: ci.<Region>.myqcloud.com
Date: <GMT Date>
Authorization: <Auth String>
Content-Length: <length>
Content-Type: application/xml
Note:
Authorization: Auth String (for more information, see Request Signature).
When this feature is used by a sub-account, relevant permissions must be granted. For more information, see Authorization Granularity .

Request headers

This API only uses common request headers. For more information, see Common Request Headers.

Request body

The request body of this request is empty.

Request parameters

Name
Type
Description
Required
regions
string
Region. To specify multiple regions, separate them by comma. Valid values: All, ap-shanghai, ap-beijing.
No
bucketNames
string
Bucket name. To specify multiple bucket names, separate them by comma. Exact search is supported.
No
bucketName
string
Bucket name prefix for prefix search.
No
pageNumber
string
Page number
No
pageSize
string
Number of entries per page
No


Response

Response headers

This API only returns common response headers. For more information, see Common Response Headers.

Response body

The response body returns application/xml data. The following contains all the nodes:
<Response>
<RequestId>NTk0MjdmODlfMjQ4OGY3XzYzYzhf****</RequestId>
<TotalCount>1</TotalCount>
<PageNumber>1</PageNumber>
<PageSize>10</PageSize>
<AsrBucketList>
<BucketId></BucketId>
<Region></Region>
<CreateTime></CreateTime>
</AsrBucketList>
</Response>
The nodes are as described below:
Node Name (Keyword)
Parent Node
Description
Type
Response
None
Response container
Container
Response has the following sub-nodes:
Node Name (Keyword)
Parent Node
Description
Type
RequestId
Response
Unique ID of the request.
String
TotalCount
Response
Total number of media buckets.
Int
PageNumber
Response
Current page number. Same as pageNumber in the request.
Int
PageSize
Response
Number of entries per page. Same as pageSize in the request.
Int
AsrBucketList
Response
Speech bucket list
Container
AsrBucketList has the following sub-nodes:
Node Name (Keyword)
Parent Node
Description
Type
BucketId
Response.AsrBucketList
Bucket ID.
String
Name
Response.AsrBucketList
Bucket name. Same as BucketId.
String
Region
Response.AsrBucketList
Bucket region.
String
CreateTime
Response.AsrBucketList
Creation time.
String

Error codes

There are no special error messages for this request. For common error messages, see Error Codes.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon