Available in VPC
You can easily build and automatically manage PostgreSQL databases with Cloud DB for PostgreSQL. It is a fully managed cloud database service that operates stably through NAVER's optimization settings, and it automatically recovers in case of failure occurrence. Cloud DB for PostgreSQL provides APIs for database management features in RESTful form.
Common Cloud DB for PostgreSQL settings
The following describes commonly used request and response formats in Cloud DB for PostgreSQL APIs.
Request
The following describes the common request format.
API URL
The request API URL is as follows:
https://ncloud.apigw.ntruss.com/vpostgresql/v2
Request headers
The following describes the request headers.
Field | Required | Description |
---|---|---|
x-ncp-apigw-timestamp |
Required | This is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC. |
x-ncp-iam-access-key |
Required | Access key issued on NAVER Cloud Platform |
x-ncp-apigw-signature-v2 |
Required | Base64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256) |
Response
The following describes the common response format.
Response status codes
Cloud DB for PostgreSQL APIs use NAVER Cloud Platform's common response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Cloud DB for PostgreSQL API
The following describes the APIs provided by the Cloud DB for PostgreSQL API service.
API | Description |
---|---|
addCloudPostgresqlDatabaseList | Add a Cloud DB for PostgreSQL database. |
addCloudPostgresqlUserList | Add a Cloud DB for PostgreSQL DB user. |
changeCloudPostgresqlUserList | Cloud DB for PostgreSQL DB user information |
createCloudPostgresqlInstance | Create a Cloud DB for PostgreSQL instance. |
createCloudPostgresqlReadReplicaInstance | Create a Cloud DB for PostgreSQL read replica server instance. |
deleteCloudPostgresqlDatabaseList | Delete a Cloud DB for PostgreSQL database. |
deleteCloudPostgresqlInstance | Delete a Cloud DB for PostgreSQL instance. |
deleteCloudPostgresqlReadReplicaInstance | Delete a Cloud DB for PostgreSQL read replica server instance. |
deleteCloudPostgresqlUserList | Delete a Cloud DB for PostgreSQL DB user. |
exportBackupToObjectStorage | Send Cloud DB for PostgreSQL backup files to Object Storage. |
exportDbServerLogToObjectStorage | Send Cloud DB for PostgreSQL database server log files to Object Storage. |
getCloudPostgresqlBackupDetailList | Get Cloud DB for PostgreSQL backup details list. |
getCloudPostgresqlBackupList | Get Cloud DB for PostgreSQL backup list. |
getCloudPostgresqlBucketList | Get the list of Object Storage buckets available to use in Cloud DB for PostgreSQL. |
getCloudPostgresqlDatabaseList | Get Cloud DB for PostgreSQL database list. |
getCloudPostgresqlImageProductList | Get Cloud DB for PostgreSQL product code list. |
getCloudPostgresqlInstanceDetail | Get Cloud DB for PostgreSQL instance details. |
getCloudPostgresqlInstanceList | Get Cloud DB for PostgreSQL instance list. |
getCloudPostgresqlProductList | Get the list of Cloud DB for PostgreSQL server specification codes. |
getCloudPostgresqlTargetSubnetList | Get the list of available subnets in Cloud DB for PostgreSQL. |
getCloudPostgresqlTargetVpcList | Get the list of available VPCs in Cloud DB for PostgreSQL. |
getCloudPostgresqlUserList | Get Cloud DB for PostgreSQL DB user list. |
getDbServerLogList | Get Cloud DB for PostgreSQL database server log list. |
rebootCloudPostgresqlServerInstance | Restart a Cloud DB for PostgreSQL server instance. |
Cloud DB for PostgreSQL related resources
NAVER Cloud Platform provides a variety of related resources to help users better understand Cloud DB for PostgreSQL APIs.
- Cloud DB for PostgreSQL API guides
- Create signature: how to create a signature to add to the request header
- API Gateway User Guide: how to issue the API key to be added to the request header
- Sub Account User Guides: how to issue the access key to be added to the request header
- Common Ncloud response status codes: information on common response status codes of NAVER Cloud Platform used by Cloud DB for PostgreSQL
- How to use the Cloud DB for PostgreSQL service
- Cloud DB for PostgreSQL User Guide: how to use Cloud DB for PostgreSQL in the NAVER Cloud Platform console
- Introduction to pricing, characteristics, and detailed features: the summary of pricing system, characteristics, and detailed features of Cloud DB for PostgreSQL
- Latest service news: the latest news on Cloud DB for PostgreSQL
- FAQ: frequently asked questions from Cloud DB for PostgreSQL users
- Contact us: Send direct inquiries for unresolved questions that aren't answered by the API guide.