Queries the details of the logical tables in a logical database.
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 tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants.
| -1 |
DatabaseId | string | Yes | The ID of the logical database. | 1 |
PageNumber | integer | Yes | The number of the page to return. | 1 |
PageSize | integer | No | The number of entries to return on each page. | 10 |
SearchName | string | No | The keyword that is used to search for the logical tables. Prefix match is supported. | test |
ReturnGuid | boolean | No | Specifies whether to return the GUID of the table. | true |
Response parameters
Examples
Sample success responses
JSON
format
{
"TotalCount": 1,
"LogicTableList": {
"LogicTable": [
{
"DatabaseId": "1",
"TableName": "test",
"TableCount": "4",
"OwnerIdList": {
"OwnerIds": [
"1"
]
},
"OwnerNameList": {
"OwnerNames": [
"owner_name"
]
},
"SchemaName": "yuyang_test",
"Logic": true,
"TableExpr": "test[1-4]",
"TableGuid": "IDB_L_308302.yuyang_test.test_ch",
"TableId": "1"
}
]
},
"RequestId": "F1E6484F-9DF1-4406-9BDE-0861C4629B69",
"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