All Products
Search
Document Center

ApsaraDB for ClickHouse:DescribeSchemas

Last Updated:Jul 17, 2024

Queries a list of all databases in an ApsaraDB for ClickHouse cluster.

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 parameters

ParameterTypeRequiredDescriptionExample
DBClusterIdstringYes

The cluster ID.

cc-bp108z124a8o7****

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

05321590-BB65-4720-8CB6-8218E041CDD0
Itemsarray<object>

The information about the databases of the cluster.

object
DBClusterIdstring

The cluster ID.

cc-bp108z124a8o7****
SchemaNamestring

The database name.

database

Examples

Sample success responses

JSONformat

{
  "RequestId": "05321590-BB65-4720-8CB6-8218E041CDD0",
  "Items": {
    "Schema": [
      {
        "DBClusterId": "cc-bp108z124a8o7****",
        "SchemaName": "database"
      }
    ]
  }
}

Error codes

HTTP status codeError codeError messageDescription
500InternalErrorAn error occurred while processing your request.An error occurred while processing your request.
503ServiceUnavailableAn error occurred while processing your request.An error occurred while processing your request.

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

Change history

Change timeSummary of changesOperation
2022-03-25The Error code has changed. The request parameters of the API has changedView Change Details