Skip to Content

ListURocketMQTopic - ListURocketMQTopic

Overview

List topic

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is ListURocketMQTopic.Yes
PublicKeystringThe user’s public key can be obtained from Console Yes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See Region and Availability Zone List Yes
ProjectIdstringProject ID. Please refer to GetProjectList API Yes
ServiceIdstringService IDYes
LimitintMaximum number of returned entries, (0, 1000], default 20 entriesNo
OffsetintQuery Start Position, [0, ∞)No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
TopicListarray[TopicInfo]Topic ListNo
TotalCountintTotal RecordsNo

Data Model

TopicInfo

Field NameTypeDescription InformationRequired
RemarkstringTopic DescriptionNo
CreateTimeintTopic Creation TimeNo
MessageTypestringMessage TypeNo
TopicIdstringTopic IDNo
TopicNamestringTopic NameNo

Example

Request Example

https://api.ucloud-global.com/?Action=ListURocketMQTopic &Region=cn-zj &ProjectId=akthviXK &ServiceId=rbpuvTti &Limit=3 &Offset=7 &Limit=6 &Offset=3

Response Example

{ "Action": "ListURocketMQTopicResponse", "Message": "gYCmYFYR", "RetCode": 0, "TopicList": [ { "CreateTime": "Lqgjjmcf", "Id": "VpElLtWl", "MessageType": "Normal", "Name": "laCiRFpA", "Remark": "mZqnUdRb" } ], "TotalCount": 7 }