GetCatalog
Retrieves the details of a specified data catalog in DataWorks Data Map. Currently, DLF and StarRocks types are supported.
Operation description
DataWorks Basic Edition or a higher edition is required.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:GetCatalog |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Id |
string |
Yes |
The ID of the data catalog entity. Currently, DLF and StarRocks types are supported. For more information, see the response of the ListCatalogs operation and Concepts of metadata entities.
Note
Where: |
dlf-catalog::catalog_id |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The request ID. |
1AFAE64E-D1BE-432B-A9**** |
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Catalog | Catalog |
The data catalog information. |
Examples
Success response
JSON format
{
"RequestId": "1AFAE64E-D1BE-432B-A9****",
"Success": true,
"Catalog": {
"Id": "dlf-catalog::catalog1",
"Name": "catalog1",
"Comment": "Default catalog",
"Type": "HIVE",
"CreateTime": 1725330777000,
"ModifyTime": 1725330777000,
"ParentMetaEntityId": "dlf"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.