GetCatalog
Updated at:
Retrieves the details of a catalog.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:GetCatalog |
*All Resource
|
None | None |
Request syntax
GET /api/metastore/catalogs HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CatalogId |
string |
No |
The ID of the catalog. |
catalog_test |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| Code |
string |
The description of the status code. |
OK |
| Message |
string |
The response message. |
. |
| RequestId |
string |
The request ID. |
DB07AAE9-4B88-5DEA-8F1D-4D1A9A864A85 |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| Catalog | Catalog |
The details of the catalog. |
参考Catalog实体 |
Examples
Success response
JSON format
{
"Code": "OK",
"Message": ".",
"RequestId": "DB07AAE9-4B88-5DEA-8F1D-4D1A9A864A85",
"Success": true,
"Catalog": {
"CatalogId": "1344371",
"Description": "测试",
"LocationUri": "oss://dlf-test-oss-location/",
"Owner": "acs:ram::[accountId]:root",
"CreatedBy": "acs:ram::[accountId]:root\n",
"CreateTime": 1640662815,
"UpdateTime": 1640662815,
"Status": "CREATED",
"CatalogType": "HMS",
"DefaultCatalog": true,
"ThriftEnabled": true,
"JdbcEnabled": true,
"StorageAccessConfig": ""
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.
Is this page helpful?