Domain name for API request: cynosdb.intl.tencentcloudapi.com.
This API is used to view the database/table mapping relationship of an analysis cluster.
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: DescribeLibraDBClusterTableMapping. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-07. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo. |
| ClusterId | Yes | String | Analysis Cluster ID |
| InstanceId | Yes | String | Analysis engine instance ID |
| NodeId | No | String | Node ID |
| Offset | No | Integer | Offset. |
| Limit | No | Integer | Page history limit |
| SrcSchemas.N | No | Array of String | Source schema list |
| SrcTableName.N | No | Array of String | Source table list |
| StatusList.N | No | Array of String | Status list |
| MapSchemas.N | No | Array of String | Map database name |
| MapTableName.N | No | Array of String | Mapping table name |
| MapSchemaNotEmpty | No | Boolean | Query records where the database name is not null |
| MapTableNameNotEmpty | No | Boolean | Query records where the mapping table name is not null |
| Parameter Name | Type | Description |
|---|---|---|
| TotalCnt | Integer | Total number of records |
| TableMappings | Array of TableMappingObject | Database mapping info |
| 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. |
View database/table mapping in the analysis cluster
POST / HTTP/1.1
Host: cynosdb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeLibraDBClusterTableMapping
<Common request parameters>
{
"ClusterId": "libradb-ln26puh1",
"InstanceId": "libradb-ins-4v4hcwgs"
}
{
"Response": {
"RequestId": "253f5807-47f3-478a-b2d0-5de7bf3774f7",
"TableMappings": [],
"TotalCnt": 0
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback