Returns the column information of a table.
Operation description
You can call this operation only for database instances whose control mode is Security Collaboration.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. You can call the GetUserActiveTenant operation to obtain the tenant ID. | 3*** |
TableId | string | Yes | The ID of the table. You can call the ListTables operation to obtain the table ID. | 39281**** |
Logic | boolean | Yes | Specifies whether the database is a logical database. Valid values:
| false |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "0AD9AC55-5873-474A-9F33-4285806A3619",
"ErrorCode": "UnknownError",
"ColumnList": {
"Column": [
{
"ColumnType": "varchar",
"AutoIncrement": false,
"ColumnId": "62589****",
"DefaultValue": "def_value",
"Sensitive": false,
"ColumnName": "name",
"SecurityLevel": "INNER",
"Description": "test",
"DataPrecision": 0,
"DataScale": 0,
"FunctionType": "DEFAULT",
"Nullable": false,
"DataLength": 4
}
]
},
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history