Queries table schema information by calling the DescribeTable operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:DescribeTable |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region ID. |
cn-hangzhou |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drds********* |
| DbName |
string |
Yes |
The database name. |
drds_flashback |
| TableName |
string |
Yes |
The table name. |
employee_split |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
Indicates whether the API request was successful. |
true |
| RequestId |
string |
The unique request ID. If an issue occurs, provide this ID to support engineers for troubleshooting. |
B5644ABB-559A-4A1C-83F2-9E7209****** |
| Data |
object |
The returned data. |
|
| List |
array<object> |
The collection of returned data. |
|
|
object |
|||
| Index |
string |
Indicates the primary key of the table. |
PRI |
| IsAllowNull |
string |
Indicates whether the column can be empty. |
NO |
| ColumnName |
string |
Indicates the name of a column. |
Id |
| IsPk |
string |
Indicates whether the column is the primary key column of the table. |
YES |
| ColumnType |
string |
Indicates the type of the column. |
bigint(20) |
| Extra |
string |
Extra |
auto_increment |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "B5644ABB-559A-4A1C-83F2-9E7209******",
"Data": {
"List": [
{
"Index": "PRI",
"IsAllowNull": "NO",
"ColumnName": "Id",
"IsPk": "YES",
"ColumnType": "bigint(20)",
"Extra": "auto_increment"
}
]
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.