Queries the attributes of a topic.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TopicName | string | Yes | The name of the topic. | demo-topic |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "06273500-249F-5863-121D-74D51123****",
"Code": 200,
"Status": "Success",
"Message": "operation success",
"Success": true,
"Data": {
"TopicName": "demo-topic",
"MessageCount": 0,
"MaxMessageSize": 65536,
"MessageRetentionPeriod": 86400,
"CreateTime": 1449554277,
"LastModifyTime": 1449554460,
"LoggingEnabled": true,
"Tags": [
{
"TagKey": "",
"TagValue": ""
}
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-05-27 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |