Queries the metadata of tables involved in a data tracking task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:GetDataTrackJobTableMeta |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| OrderId |
integer |
Yes |
The ticket ID. You can call the ListOrders operation to query the ticket ID. |
12345 |
| Tid |
integer |
No |
The tenant ID. You can call the GetUserActiveTenant operation to query the tenant ID. |
3*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response schema. |
||
| RequestId |
string |
The request ID. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| Success |
boolean |
Whether the request was successful. Valid values:
|
true |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| TableMetaList |
array<object> |
The metadata of tables. |
|
|
array<object> |
The metadata of a table. |
||
| SchemaName |
string |
The name of the database. |
DB165 |
| TableName |
string |
The name of the table. |
live_stat |
| Columns |
array<object> |
The column information. |
|
|
object |
The details of a column. |
||
| ColumnName |
string |
The name of the column. |
claimantno |
| ColumnPosition |
integer |
The position of the column. |
1 |
| ColumnType |
string |
The data type of the column. Examples: BIGINT, INT, and VARCHAR. |
BIGINT |
| Fictive |
boolean |
Whether the column is virtual. Valid values:
|
false |
| Charset |
string |
The character set name. |
utf8mb4 |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"Success": true,
"ErrorMessage": "UnknownError",
"ErrorCode": "UnknownError",
"TableMetaList": [
{
"SchemaName": "DB165",
"TableName": "live_stat",
"Columns": [
{
"ColumnName": "claimantno",
"ColumnPosition": 1,
"ColumnType": "BIGINT",
"Fictive": false,
"Charset": "utf8mb4"
}
]
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.