Lists Database and Table assets associated with a specific Tag in a DataAgent Workspace.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can obtain your tenant ID by hovering your cursor over your profile picture in the upper-right corner of the console. For more information, see View tenant information. |
3*** |
| TagName |
string |
Yes |
The Tag name. To retrieve Database and Table information from a DataAgent Workspace, specify the Tag in the following format: |
sys::DMS-DA::cn-hangzhou::space:abcde |
| MetaType |
string |
Yes |
|
META_DATABASE |
| MetaParentId |
string |
No |
The ID of the parent asset.
|
123456 |
| SearchKey |
string |
No |
The keyword for a fuzzy search. |
test |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries per page. |
50 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The Request ID. |
0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931 |
| ErrorCode |
string |
The error code returned if the request fails. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request fails. |
UnknownError |
| Success |
boolean |
Indicates if the request succeeded. Valid values:
|
true |
| Data |
array<object> |
A list of the returned assets. |
|
|
array<object> |
|
||
| MetaType |
string |
|
META_DATABASE |
| MetaEntityAttrs |
object |
Contains the following fields if
|
{"schemaName": "test"} |
| TotalCount |
integer |
The total number of matching entries. |
100 |
Examples
Success response
JSON format
{
"RequestId": "0C1CB646-1DE4-4AD0-B4A4-7D47DD52E931",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"Data": [
{
"MetaType": "META_DATABASE",
"MetaEntityAttrs": {
"schemaName": "test"
}
}
],
"TotalCount": 100
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.