This topic describes the request syntax of the ApsaraDB for ClickHouse API.
Endpoints
The following table describes the endpoints for ApsaraDB for ClickHouse in different regions.
Region | Endpoint |
China (Qingdao), China (Beijing), China (Hangzhou), China (Shanghai), China (Shenzhen), China (Hong Kong), Singapore (Singapore), US (Virginia), and US (Silicon Valley) | clickhouse.aliyuncs.com |
China (Zhangjiakou) | clickhouse.cn-zhangjiakou.aliyuncs.com |
Japan (Tokyo) | clickhouse.ap-northeast-1.aliyuncs.com |
China (Hohhot) | clickhouse.cn-huhehaote.aliyuncs.com |
Indonesia (Jakarta) | clickhouse.ap-southeast-5.aliyuncs.com |
Germany (Frankfurt) | clickhouse.eu-central-1.aliyuncs.com |
UK (London) | clickhouse.eu-west-1.aliyuncs.com |
China (Chengdu) | clickhouse.cn-chengdu.aliyuncs.com |
Protocols
You can send API requests over HTTP or HTTPS. For secure communication, we recommend that you use HTTPS.
Request methods
You can call an API operation by sending an HTTP GET request. If you use this method, the request parameters must be included in the request URL.
Request parameters
In each request, you must set the Action parameter to specify the operation that you want to perform, for example, CreateDatabase. You must also specify the common request parameters and the operation-specific parameters.
Encoding
Requests and responses are encoded in UTF-8.