获取数据表的参数列表-ListCatalogTableProperties

获取用户指定名称的数据表的所有参数

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring地域。 参见 地域和可用区列表Yes
ProjectIdstring项目ID,不填则为默认项目No
DatabaseNamestring数据库名称Yes
TableNamestring数据表名称Yes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
RequeststringAPI请求IDNo
DatabaseNamestring数据库名称No
TableNamestring数据表名称No
TablePropertiesarray数据表属性列表No

Request Example

https://api.ucloud.cn/?Action=ListCatalogTableProperties
&Region=cn-xxx
&ProjectId=ilbjABtv
&DatabaseName=default
&TableName=tbl3

Response Example

{
    "RetCode": 0,
    "Action": "ListCatalogTablePropertiesResponse",
    "Request": "81b7b1b3-2a61-4d68-8124-622a982c5c3f",
    "DatabaseName": "default",
    "TableName": "tbl3",
    "TableProperties": [
        {
            "Name": "skip.header.line.count",
            "Value": "1"
        },
        {
            "Name": "totalSize",
            "Value": "0"
        },
        {
            "Name": "delimiter",
            "Value": "|"
        },
        {
            "Name": "numFiles",
            "Value": "0"
        },
        {
            "Name": "transient_lastDdlTime",
            "Value": "1534822799"
        },
        {
            "Name": "classification",
            "Value": "csv"
        }
    ]
}