ListURocketMQTopic - ListURocketMQTopic
Overview
List topic
Definition
Public Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Action | string | Corresponding API command name, the current API is ListURocketMQTopic. | Yes |
| PublicKey | string | The user’s public key can be obtained from Console  | Yes |
| Signature | string | User signature generated based on public key and API command, see Signature Algorithm | Yes |
Request Parameters
| Parameter Name | Type | Description Information | Required |
|---|---|---|---|
| Region | string | Region. See Region and Availability Zone List | Yes |
| ProjectId | string | Project ID. Please refer to GetProjectList API | Yes |
| ServiceId | string | Service ID | Yes |
| Limit | int | Maximum number of returned entries, (0, 1000], default 20 entries | No |
| Offset | int | Query Start Position, [0, ∞) | No |
Response Field
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| RetCode | int | Return status code. If it is 0, it means successful return. If it is not 0, it means failure. | Yes |
| Action | string | Operation command name. | Yes |
| Message | string | Returns an error message, providing detailed description when RetCode is non-zero. | No |
| TopicList | array[TopicInfo] | Topic List | No |
| TotalCount | int | Total Records | No |
Data Model
TopicInfo
| Field Name | Type | Description Information | Required |
|---|---|---|---|
| Remark | string | Topic Description | No |
| CreateTime | int | Topic Creation Time | No |
| MessageType | string | Message Type | No |
| TopicId | string | Topic ID | No |
| TopicName | string | Topic Name | No |
Example
Request Example
https://api.sigcalcloud.com/?Action=ListURocketMQTopic
&Region=cn-zj
&ProjectId=akthviXK
&ServiceId=rbpuvTti
&Limit=3
&Offset=7
&Limit=6
&Offset=3Response Example
{
"Action": "ListURocketMQTopicResponse",
"Message": "gYCmYFYR",
"RetCode": 0,
"TopicList": [
{
"CreateTime": "Lqgjjmcf",
"Id": "VpElLtWl",
"MessageType": "Normal",
"Name": "laCiRFpA",
"Remark": "mZqnUdRb"
}
],
"TotalCount": 7
}