History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
ci:DescribeAsrQueues permission to the action in the authorization policy. For all supported API operations in Cloud Infinite (CI), see CI action.GET /asrqueue HTTP/1.1Host: <BucketName-APPID>.ci.<Region>.myqcloud.comDate: <GMT Date>Authorization: <Auth String>Content-Length: <length>Content-Type: application/xml
Parameter Name (Keyword) | Description | Type | Required or Not |
queueIds | queue ID, split by "," symbol | String | No |
state | Active: Indicates that jobs in the queue will be scheduled for execution. Paused: Indicates the queue is suspended. Jobs will no longer be scheduled for execution. All jobs in the queue remain in paused state, while executing tasks are unaffected. | String | No |
pageNumber | which page, default value 1 | Int | No |
pageSize | number of items per page, default value 10 | Int | No |
<Response><RequestId>NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85</RequestId><TotalCount>1</TotalCount><PageNumber>1</PageNumber><PageSize>10</PageSize><QueueList><QueueId>p4a17eeea29334bf499b7e20e2fbfd99d</QueueId><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><Url>http://callback.demo.com</Url><Event>TaskFinish,WorkflowFinish</Event><Type>Url</Type><State>On</State><ResultFormat>JSON</ResultFormat></NotifyConfig><MaxSize>10000</MaxSize><MaxConcurrent>10</MaxConcurrent><UpdateTime>2022-08-09T16:23:11+0800</UpdateTime><CreateTime>2022-08-09T16:23:11+0800</CreateTime><Category>Speeching</Category></QueueList></Response>
Node Name (Keyword) | Parent Node | Description | Type |
Response | None. | Container for saving results | Container |
Node Name (Keyword) | Parent Node | Description | Type |
RequestId | Response | unique request ID | String |
TotalCount | Response | Total number of queues | Int |
PageNumber | Response | current page number, same as the pageNumber in the request | Int |
PageSize | Response | number of items per page, same as the pageSize in the request | Int |
QueueList | Response | queue array | Container array |
NonExistPIDs | Response | non-existing queue ID list | String array |
Node Name (Keyword) | Parent Node | Description | Type |
QueueId | Response.QueueList | Queue ID | String |
Name | Response.QueueList | queue name | String |
State | Response.QueueList | Current status, Active or Paused | String |
NotifyConfig | Response.QueueList | callback configuration | Container |
MaxSize | Response.QueueList | queue maximum length | Int |
MaxConcurrent | Response.QueueList | Maximum number of tasks executed in parallel in the current queue | Int |
Category | Response.QueueList | queue type | String |
UpdateTime | Response.QueueList | Update time | String |
CreateTime | Response.QueueList | Creation time | String |
Node Name (Keyword) | Parent Node | Description | Type |
Url | Response.QueueList.NotifyConfig | callback URL | String |
State | Response.QueueList.NotifyConfig | switch state | String |
Type | Response.QueueList.NotifyConfig | callback type | String |
Event | Response.QueueList.NotifyConfig | callback event | String |
ResultFormat | Response.QueueList.NotifyConfig | callback type | String |
MqMode | Response.QueueList.NotifyConfig | TDMQ usage mode | String |
MqRegion | Response.QueueList.NotifyConfig | TDMQ belonging to park | String |
MqName | Response.QueueList.NotifyConfig | TDMQ topic name | String |
GET /asrqueue?queueIds=p4a17eeea29334bf499b7e20e2fbfd99d,A,B HTTP/1.1Authorization: q-sign-algorithm=sha1&q-ak=************************************&q-sign-time=1497530202;1497610202&q-key-time=1497530202;1497610202&q-header-list=&q-url-param-list=&q-signature=****************************************Host: test-1234567890.ci.ap-chongqing.myqcloud.comContent-Length: 0Content-Type: application/xml
HTTP/1.1 200 OKContent-Type: application/xmlContent-Length: 100Connection: keep-aliveDate: Thu, 09 Aug 2022 16:23:12 GMTServer: tencent-cix-ci-request-id: NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85<Response><RequestId>NjJmNDczY2RfOTBmYTUwNjRfNTA4ZV85</RequestId><QueueList><QueueId>p4a17eeea29334bf499b7e20e2fbfd99d</QueueId><Name>My-Queue-asr</Name><State>Active</State><NotifyConfig><Url>http://callback.demo.com</Url><Event>TaskFinish,WorkflowFinish</Event><Type>Url</Type><State>On</State><ResultFormat>JSON</ResultFormat></NotifyConfig><MaxSize>10000</MaxSize><MaxConcurrent>10</MaxConcurrent><UpdateTime>2022-08-09T16:23:11+0800</UpdateTime><CreateTime>2022-08-09T16:23:11+0800</CreateTime><Category>Speeching</Category></QueueList><NonExistPIDs>A</NonExistPIDs><NonExistPIDs>B</NonExistPIDs></Response>
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan