GET
/
cloud
/
v1
/
dbaas
/
postgres
/
configuration
/
{project_id}
/
{region_id}
curl --request GET \
  --url https://api.gcore.com/cloud/v1/dbaas/postgres/configuration/{project_id}/{region_id} \
  --header 'Authorization: <api-key>'
{
  "flavors": [
    {
      "cpu": 1,
      "memory_gib": 1,
      "pg_conf": "\nlisten_addresses = 'localhost'\nport = 5432\nmax_connections = 100\nshared_buffers = 128MB\nlogging_collector = on"
    }
  ],
  "storage_classes": [
    {
      "name": "ssd-hiiops"
    }
  ],
  "versions": [
    "14",
    "15"
  ]
}

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

project_id
integer
required

Project ID

region_id
integer
required

Region ID

Response

200
application/json

Available configurations

The response is of type object.