https://cmq-topic-{$region}.api.qcloud.com
http://cmq-topic-{$region}.api.tencentyun.com
Parameter name | Required | Type | Description |
SearchWord | No | String | Used to filter topic list, Backend Background uses fuzzy matching to return eligible topic list. If this parameter is left empty, all topic under the account will be returned by default. |
Offset | No | Int | When paging, this page gets the starting position of topic's list. If Enter reaches this value, Enter limit must also be required. When this value defaults, Backend Background takes the default value of 0 |
Limit | No | Int | This page gets the number of topic when paging. If this parameter is not passed, the parameter defaults to 20, and the maximum value is 50. |
Parameter name | Type | Description |
Code | Int | |
Message | String | Error message |
RequestId | String | Request ID generated by the server. When an internal error occurs on the server, the user can submit this ID to Backend Background to locate the problem. |
TotalCount | Int | The total number of topic returned by this request under the user account, rather than the number of topic obtained on this page after paging. |
TopicList | Array | Topic list information. Each element represents a topic's information. |
Parameter name | Type | Description |
TopicId | String | Topic's unique logo ID |
TopicName | String | Topic's name is unique under the same account in a single region. Topic's name is a string of no more than 64 characters, which must begin with a letter, and the rest can contain letters, numbers and underscores. - ## Example |
https://domain/v2/index.php?Action=ListTopic&searchWord=test&<Common request parameters>
{"code": 0,"message": "","requestId": "14534664555","totalCount": 10,"topicList": [{"topicId": "topic-asdfo","topicName": "test-topic1"},{"topicId": "topic-asdsafo","topicName": "topic-test1"}]}
本页内容是否解决了您的问题?