Queries the details of columns and indexes in 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. Note
To view the ID of the tenant, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see the View information about the current tenant section of the Manage DMS tenants topic.
| 123 |
TableGuid | string | Yes | The GUID of the table in Data Management (DMS). Note
| IDB_L_9032.db-test.yuyang_test |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E881CB2F-DE42-42E5-90EB-8B3173DCB9B9",
"DetailInfo": {
"IndexList": [
{
"IndexColumns": [
"id"
],
"IndexName": "PRIMARY",
"Unique": false,
"IndexType": "Primary",
"IndexId": "123"
}
],
"ColumnList": [
{
"ColumnName": "id",
"Description": "test",
"DataScale": 0,
"DataPrecision": 0,
"ColumnType": "bigint(20) unsigned",
"AutoIncrement": true,
"Position": "1",
"Nullable": false,
"ColumnId": "191234849",
"DataLength": 0
}
]
},
"ErrorCode": "UnknownError",
"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