History
Introduction
API Category
Making API Requests
Region APIs
Instance APIs
Cloud Hosting Cluster APIs
Image APIs
Instance Launch Template APIs
Placement Group APIs
Key APIs
Security Group APIs
Network APIs
Data Types
Error Codes
Domain name for API request: wedata.intl.tencentcloudapi.com.
This API is used to obtain the list of all fields in a table.
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: GetTableColumns. |
| Version | Yes | String | Common Params. The value used for this API: 2025-08-06. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| TableGuid | Yes | String | Data table GUID. |
| Parameter Name | Type | Description |
|---|---|---|
| Data | Array of ColumnInfo | Field list. Note: This field may return null, indicating that no valid values 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. |
Query table column information
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetTableColumns
<Common request parameters>
{
"TableGuid": "byV1bs2QGzbTepNlHhi2gA"
}{
"Response": {
"Data": [
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "tinyint_col",
"Position": 0,
"Type": "tinyint"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "smallint_col",
"Position": 1,
"Type": "smallint"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "int_col",
"Position": 2,
"Type": "int"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "bigint_col",
"Position": 3,
"Type": "bigint"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "boolean_col",
"Position": 4,
"Type": "boolean"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "float_col",
"Position": 5,
"Type": "float"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "double_col",
"Position": 6,
"Type": "double"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "string_col",
"Position": 7,
"Type": "string"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "timestamp_col",
"Position": 8,
"Type": "timestamp"
},
{
"Description": "",
"IsPartition": false,
"Length": 0,
"Name": "decimal_col",
"Position": 9,
"Type": "decimal(10,2)"
},
{
"Description": "",
"IsPartition": true,
"Length": 0,
"Name": "date_col",
"Position": 10000,
"Type": "date"
}
],
"RequestId": "386ce7d5-5828-4b07-9e77-58a6bc311a6d"
}
}
OpenAPI - Querying table column information
POST / HTTP/1.1
Host: wedata.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: GetTableColumns
<Common request parameters>
{
"TableGuid": "bONctN4uSTN9qL_im1kfYA"
}{
"Response": {
"Data": [],
"RequestId": "e4f9c44d-a371-462c-9f4a-d294421d5ab4"
}
}
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 failed. |
| UnauthorizedOperation | Unauthorized operation. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan