Domain name for API request: wedata.tencentcloudapi.com.
Metadata Model-Table Basic Information Query Interface
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: DescribeTableBasicInfo. |
Version | Yes | String | Common Params. The value used for this API: 2021-08-20. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
PageNumber | No | Integer | Page number |
PageSize | No | Integer | Page size |
Filters.N | No | Array of Filter | Filter field |
OrderFields.N | No | Array of OrderField | Sort Fields |
Parameter Name | Type | Description |
---|---|---|
TableBasicInfoList | Array of TableBasicInfo | Table Metadata Note: This field may return null, indicating that no valid value can be obtained. |
TotalCount | Integer | Total number of items Note: This field may return null, indicating that no valid value can be obtained. |
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. |
1
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTableBasicInfo
<Common request parameters>
{
"PageNumber": 0,
"PageSize": 0,
"Filters": [
{
"Name": "abc",
"Values": [
"abc"
]
}
],
"OrderFields": [
{
"Name": "abc",
"Direction": "abc"
}
]
}
{
"Response": {
"TableBasicInfoList": [
{
"TableId": "abc",
"DatasourceId": "abc",
"DatasourceName": "abc",
"DatabaseId": "abc",
"DatabaseName": "abc",
"TableName": "abc",
"EngineType": "abc",
"TableType": "abc",
"ProjectId": "abc",
"ProjectName": "abc",
"ProjectDisplayName": "abc",
"TableOwnerId": "abc",
"TableOwnerName": "abc",
"StorageLocation": 0,
"Description": "abc",
"IsPartitionTable": 0,
"PartitionColumns": [
"abc"
],
"StorageFormat": "abc",
"StorageSize": 1,
"StorageSizeWithUnit": "abc",
"TotalSizeMb": 1,
"ReplicaCount": 0,
"FileCount": [
0
],
"PartitionCount": [
0
],
"PartitionFieldCount": 0,
"PartitionExpireDays": 0,
"CreateTime": "abc",
"UpdateTime": "abc"
}
],
"TotalCount": 0,
"RequestId": "abc"
}
}
Error 1
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeTableBasicInfo
<Common request parameters>
{
"PageNumber": 1,
"PageSize": 1,
"Filters": [
{
"Name": "1",
"Values": [
"1"
]
}
],
"OrderFields": [
{
"Name": "1",
"Direction": "1"
}
]
}
{
"Response": {
"Error": {
"Code": "InternalError",
"Message": "Internal service error. Please try again later."
},
"RequestId": "8ded1268-1ffe-4d7c-af37-6d5eeb9868a4"
}
}
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 | Operation Failure. |
本页内容是否解决了您的问题?