You need to enable JavaScript to run this app.
文档中心
云数据库 TiDB 版

云数据库 TiDB 版

复制全文
下载 pdf
导入任务管理
ListImportSupportedDataTypes - 查看支持的导入数据字段类型
复制全文
下载 pdf
ListImportSupportedDataTypes - 查看支持的导入数据字段类型
调用 ListImportSupportedDataTypes 接口查看支持的数据字段类型。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:ListImportSupportedDataTypes​
要执行的操作,取值:ListImportSupportedDataTypes。​
​
Version string 必选 示例值:2026-06-30​
API的版本,取值:2026-06-30。​
​
ProjectName string 可选 示例值:default​
项目名称。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
data_types string[] 示例值: [ "BIGINT(20)", "BINARY(32)", "BIT(1)", "CHAR(32)", "DATE", "DATETIME", "DECIMAL(32,4)", "DOUBLE", "FLOAT", "INT(11)", "JSON", "LONGTEXT", "MEDIUMINT(9)", "MEDIUMTEXT", "SMALLINT(6)", "TEXT", "TIME", "TIMESTAMP", "TINYINT(1)", "TINYINT(4)", "TINYTEXT", "VARBINARY(256)", "VARBINARY(512)", "VARBINARY(64)", "VARCHAR(256)", "VARCHAR(512)", "VARCHAR(64)", "VECTOR", "YEAR(4)" ]​
支持的数据字段类型列表。​
​
​
​
请求示例​
​
​
POST /?Action=ListImportSupportedDataTypes&Version=2026-06-30 HTTP/1.1​
Accept: application/json​
Content-Type: application/json​
Host: tidb.cn-beijing.volcengineapi.com​
X-Date: 20260728T000000Z​
Authorization: HMAC-SHA256 Credential=AK****/20260728/cn-beijing/tidb/request, SignedHeaders=accept;content-type;host;x-date, Signature=****​
​
{​
"ProjectName": "default"​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202607280000000000000000000000****",​
"Action": "ListImportSupportedDataTypes",​
"Version": "2026-06-30",​
"Service": "tidb",​
"Region": "cn-beijing"​
},​
"Result": {​
"data_types": [​
"BIGINT(20)",​
"BINARY(32)",​
"BIT(1)",​
"CHAR(32)",​
"DATE",​
"DATETIME",​
"DECIMAL(32,4)",​
"DOUBLE",​
"FLOAT",​
"INT(11)",​
"JSON",​
"LONGTEXT",​
"MEDIUMINT(9)",​
"MEDIUMTEXT",​
"SMALLINT(6)",​
"TEXT",​
"TIME",​
"TIMESTAMP",​
"TINYINT(1)",​
"TINYINT(4)",​
"TINYTEXT",​
"VARBINARY(256)",​
"VARBINARY(512)",​
"VARBINARY(64)",​
"VARCHAR(256)",​
"VARCHAR(512)",​
"VARCHAR(64)",​
"VECTOR",​
"YEAR(4)"​
]​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
QuotaExceeded​
The account quota has been exceeded.​
账号配额已超限。​
400​
OperationUnsupported​
The operation is unsupported for the specified cluster. %s​
操作不支持。%s​
400​
InvalidParameterFormat​
The input parameter is not valid.​
请求参数格式错误。​
400​
UnsupportedParameter​
The specified parameter %s is not support.​
当前参数%s值不支持。​
400​
InvalidParameter​
The specified parameter %s is not valid.​
参数%s值无效。​
400​
MissingParameter​
The input parameter %s that is mandatory for processing this request is not supplied.​
缺少%s参数。​
400​
DisplayNameNotUnique​
Cluster names must be unique. The current name [%s] already exists. Please use a different name.​
集群名称需保持唯一,当前名称%s已存在,请使用其他名称。​
400​
MissingParameter​
The input parameter %s that is mandatory for processing this request is not supplied.​
缺少%s参数。​
400​
InvalidParameter​
The specified parameter %s is not valid.​
参数%s值无效。​
400​
UnsupportedParameter​
The specified parameter %s is not support.​
当前参数%s值不支持。​
400​
InvalidParameterFormat​
The input parameter is not valid.​
请求参数格式错误。​
400​
OperationUnsupported​
The operation is unsupported for the specified cluster. %s​
操作不支持。%s​
400​
QuotaExceeded​
The account quota has been exceeded.​
账号配额已超限。​
400​
DisplayNameNotUnique​
Cluster names must be unique. The current name [%s] already exists. Please use a different name.​
集群名称需保持唯一,当前名称%s已存在,请使用其他名称。​
403​
PermissionDenied​
You are not authorized to perform this operation.​
没有权限执行该操作。​
403​
PermissionDenied​
You are not authorized to perform this operation.​
没有权限执行该操作。​
404​
ProjectNotFound​
The specified project %s does not exist.​
未找到Project %s。​
404​
ClusterNotFound​
The specified cluster %s does not exist.​
未找到ClusterId %s。​
404​
TableNotFound​
The specified table %s does not exist.​
未找到Table %s​
404​
RestoreJobNotFound​
No restore job found for the specified cluster.​
未找到恢复任务。​
404​
BranchNotFound​
The specified branch %s does not exist.​
未找到BranchId %s。​
404​
ProjectNotFound​
The specified project %s does not exist.​
未找到Project %s。​
404​
ClusterNotFound​
The specified cluster %s does not exist.​
未找到ClusterId %s。​
404​
TableNotFound​
The specified table %s does not exist.​
未找到Table %s​
404​
RestoreJobNotFound​
No restore job found for the specified cluster.​
未找到恢复任务。​
404​
BranchNotFound​
The specified branch %s does not exist.​
未找到BranchId %s。​
500​
TiDBError​
err from tidb: %s​
TiDB错误:%s。​
500​
ServiceBusy​
The system is busy, please try again later.​
系统繁忙,请稍后重试。​
500​
InternalError​
The request processing has failed due to some unknown error, exception or failure.​
内部错误。​
500​
InternalError​
The request processing has failed due to some unknown error, exception or failure.​
内部错误。​
500​
TiDBError​
err from tidb: %s​
TiDB错误:%s​
500​
ServiceBusy​
The system is busy, please try again later.​
系统繁忙,请稍后重试。​
503​
ServiceUnavailable​
The request has failed due to a temporary failure of the server.​
当前服务暂时不可用。​
503​
ServiceUnavailable​
The request has failed due to a temporary failure of the server.​
当前服务暂时不可用。​
​
​
最近更新时间:2026.10.30 11:06:01
这个页面对您有帮助吗?
有用
有用
无用
无用