Domain name for API request: eb.intl.tencentcloudapi.com.
This API is used to get the list of event connectors.
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: ListConnections. |
| Version | Yes | String | Common Params. The value used for this API: 2021-04-16. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| EventBusId | Yes | String | Event bus ID |
| OrderBy | No | String | Indicates by which field to sort the returned results. Valid values: AddTime, ModTime |
| Limit | No | Integer | Number of returned results. Default value: 20. Maximum value: 100. |
| Order | No | String | Indicates whether the returned results are sorted in ascending or descending order. Valid values: ASC, DESC |
| Offset | No | Integer | Offset. Default value: 0. |
| Parameter Name | Type | Description |
|---|---|---|
| Connections | Array of Connection | Connector information |
| TotalCount | Integer | Total number of connectors |
| 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. |
POST / HTTP/1.1
Host: eb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ListConnections
<Common request parameters>
{
"EventBusId": "eb-l65vlc2"
}
{
"Response": {
"Connections": [],
"RequestId": "cec4c711-4e68-43ac-988f-00171f2b2146",
"TotalCount": 0
}
}
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 |
|---|---|
| InvalidParameterValue.EventBusId | The EventBusId value does not conform to the specification. Please fix it and try again. |
| InvalidParameterValue.Limit | The Limit value does not conform to the specification. Please fix it and try again. |
| InvalidParameterValue.Offset | The Offset value does not conform to the specification. Please fix it and try again. |
| InvalidParameterValue.Order | The Order value does not conform to the specification. Please fix it and try again. |
| InvalidParameterValue.OrderBy | The OrderBy value does not conform to the specification. Please fix it and try again. |
| ResourceNotFound | The resource does not exist. |
| ResourceNotFound.EventBus | The specified event bus was not found. Please create it and try again. |
文档反馈