Branch

Compare database schema

Compares the schema from the specified database with another branch's schema.

get/projects/{project_id}/branches/{branch_id}/compare_schema

Path parameters

project_idstring required

The Neon project ID

branch_idstring required

The branch ID

Query parameters

base_branch_idstring

The branch ID to compare the schema with

db_namestring required

Name of the database for which the schema is retrieved

lsnstring

The Log Sequence Number (LSN) for which the schema is retrieved

timestampstring date-time
Example:2022-11-30T20:09:48Z

The point in time for which the schema is retrieved

base_lsnstring

The Log Sequence Number (LSN) for the base branch schema

base_timestampstring date-time
Example:2022-11-30T20:09:48Z

The point in time for the base branch schema

Response

Difference between the schemas

diffstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.