All Products
Search
Document Center

:GetCatalog

Last Updated:May 20, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

GET /api/metastore/catalogs

Request parameters

ParameterTypeRequiredDescriptionExample
CatalogIdstringNo

catalogId

catalog_test

Response parameters

ParameterTypeDescriptionExample
object

Databases Response

Codestring

Code

OK
Messagestring

Message

.
RequestIdstring

RequestId

DB07AAE9-4B88-5DEA-8F1D-4D1A9A864A85
Successboolean

Success

true

Examples

Sample success responses

JSONformat

{
  "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": 1640662815603,
    "UpdateTime": 1640662815603,
    "Status": "CREATED",
    "CatalogType": "HMS",
    "DefaultCatalog": true,
    "ThriftEnabled": true,
    "JdbcEnabled": true,
    "StorageAccessConfig": ""
  }
}

Error codes

For a list of error codes, visit the Service error codes.