v106

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-03812347972.4 KB
workspace

import a PostgreSQL database from source to target via pg_dump

post/w/{workspace}/workspaces/import_pg_database

Path parameters

workspacestring required

Request body

sourcestring required

Source database: 'datatable://name' or '$res:path'

targetstring required

Target database: 'datatable://name' or '$res:path'

target_dbname_overridestring

Override the target database name

fork_behavior'schema_only' | 'schema_and_data' | 'keep_original' required

Response

status