Queries the information about a specific database in Data Map.
Operation description
-
DataWorks Basic Edition or a higher edition is required.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
Database entity ID. You can refer to the response of the ListDatabases operation and Concepts related to metadata entities. The format: Note
For StarRocks, the catalog identifier is the catalog name. For DLF, the catalog identifier is the catalog ID. For other types, the catalog-level hierarchy is not supported, and an empty string can be used as a placeholder. Examples of common ID formats
Note
|
dlf-database::catalog_id:database_name |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
1AFAE64E-D1BE-432B-A9**** |
| Success |
boolean |
Indicates whether the request was successful. |
true |
| Database | Database |
The database details. |
Examples
Success response
JSON format
{
"RequestId": "1AFAE64E-D1BE-432B-A9****",
"Success": true,
"Database": {
"Id": "holo-database:h-xxxx::test_db",
"Name": "test_db",
"Comment": "test comment",
"LocationUri": "oss://test-bucket/test_db",
"ParentMetaEntityId": "holo:h-xxxx",
"CreateTime": 1736852168000,
"ModifyTime": 1736852168000
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.