{ "opencollection": "1.0.0", "info": { "name": "Aiven API Documentation Account Service:_PostgreSQL API", "version": "v1" }, "items": [ { "info": { "name": "Service:_PostgreSQL", "type": "folder" }, "items": [ { "info": { "name": "Get query optimization recommendations for a query", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/account/:account_id/pg/query/optimize", "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "

This endpoint may be changed or removed at any time. Don't use it in production environments.

" }, { "info": { "name": "List PostgreSQL extensions that can be loaded with CREATE EXTENSION in this service", "type": "http" }, "http": { "method": "GET", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/pg/available-extensions", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "List PostgreSQL extensions that can be loaded with CREATE EXTENSION in this service" }, { "info": { "name": "Get the query used to retrieve schema metadata", "type": "http" }, "http": { "method": "GET", "url": "https://api.aiven.io/v1/pg/database-metadata-query" }, "docs": "

This endpoint may be changed or removed at any time. Don't use it in production environments.

" }, { "info": { "name": "Validate schema metadata structure and statistics", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/pg/query/metadata-validate", "body": { "type": "json", "data": "{}" } }, "docs": "

This endpoint may be changed or removed at any time. Don't use it in production environments.

" }, { "info": { "name": "Fetch PostgreSQL service query statistics", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/pg/query/stats", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Fetch PostgreSQL service query statistics" }, { "info": { "name": "Fetch PostgreSQL service query statistics (DEPRECATED: Use /project/$project/service/$service/pg/query/stats instead)", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/query/stats", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "

DEPRECATED: Use /project/$project/service/$service/pg/query/stats instead

" }, { "info": { "name": "Validate SQL query syntax", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/pg/query/validate", "body": { "type": "json", "data": "{}" } }, "docs": "

This endpoint may be changed or removed at any time. Don't use it in production environments.

" }, { "info": { "name": "Create a new connection pool for service", "type": "http" }, "http": { "method": "POST", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/connection_pool", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Create a new connection pool for service" }, { "info": { "name": "Update a connection pool", "type": "http" }, "http": { "method": "PUT", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/connection_pool/:pool_name", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" }, { "name": "pool_name", "value": "", "type": "path", "description": "PgBouncer connection pool name" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Update a connection pool" }, { "info": { "name": "Delete a connection pool", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.aiven.io/v1/project/:project/service/:service_name/connection_pool/:pool_name", "params": [ { "name": "project", "value": "", "type": "path", "description": "Project name" }, { "name": "service_name", "value": "", "type": "path", "description": "Service name" }, { "name": "pool_name", "value": "", "type": "path", "description": "PgBouncer connection pool name" } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Delete a connection pool" } ] } ], "bundled": true }