tencent cloud

Feedback

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.