Domain name for API request: mqtt.intl.tencentcloudapi.com.
Query shared subscription group detailed information
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: DescribeSharedSubscriptionClient. |
| Version | Yes | String | Common Params. The value used for this API: 2024-05-16. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Tencent Cloud MQTT instance ID can be obtained from the DescribeInstanceList api or the console. |
| SharedName | Yes | String | Shared subscription group name |
| TopicFilter | Yes | String | Subscription expression. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of SharedSubscriptionClient | Shared subscription group Client info |
| TotalCount | Integer | Total query count |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Query shared subscription group clients
POST / HTTP/1.1
Host: mqtt.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeSharedSubscriptionClient
<Common request parameters>
{
"InstanceId": "mqtt-zj944d74",
"SharedName": "mock-name",
"TopicFilter": "mock-topic"
}
{
"Error": null,
"RequestId": null,
"Response": {
"Data": [
{
"ClientId": "mock-1",
"Online": true,
"SharedName": "mock-name",
"TopicFilter": "mock-topic"
},
{
"ClientId": "mock-2",
"Online": false,
"SharedName": "mock-name",
"TopicFilter": "mock-topic"
}
],
"RequestId": "e1ff6dcf-d154-4bdc-acb9-22eaa384d07e",
"TotalCount": 2
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation.InstanceNotReady | FailedOperation.InstanceNotReady |
| ResourceNotFound | The resource does not exist. |
| ResourceNotFound.Instance | ResourceNotFound.Instance |
文档反馈