All Products
Search
Document Center

ApsaraDB for ClickHouse:DescribeTables

Last Updated:Jul 17, 2024

Queries the information about tables in a database of 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****
SchemaNamestringYes

The database name.

database

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

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

The information about the tables.

object
TableNamestring

The table name.

test
DBClusterIdstring

The cluster ID.

cc-bp108z124a8o7****
SchemaNamestring

The database name.

database

Examples

Sample success responses

JSONformat

{
  "RequestId": "05321590-BB65-4720-8CB6-8218E041CDD0",
  "Items": {
    "Table": [
      {
        "TableName": "test",
        "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