Service:_PostgreSQL

Create a new connection pool for service

Changed on
post/project/{project}/service/{service_name}/connection_pool

Request

  • Base URL
    https://api.aiven.io/v1
  • URL
    https://api.aiven.io/v1/project/{project}/service/{service_name}/connection_pool
  • Auth
    HTTP bearer and OAuth 2
    Authorization code: https://console.aiven.io/oauth/authorize
    Token URL: https://api.aiven.io/v1/oauth2/token scopes: services:write

Path parameters

projectstring required

Project name

service_namestring required

Service name

Request body

databasestring required

Service database name

pool_mode'session' | 'transaction' | 'statement'

PGBouncer pool mode

pool_namestring required

Connection pool name

pool_sizeinteger

Size of PGBouncer's PostgreSQL side connection pool

usernamestring

Service username

Response

Response

messagestring

Printable result of the request

Changes

    • info

      the request property default value transaction was added

    • info

      the request property default value 10 was added