Skip to main content
POST
/
v1
/
instances
/
{instance}
/
databases
/
{database}
/
changelogs
/
{changelog}
:diffSchema
cURL
curl --request POST \
  --url https://api.example.com/v1/instances/{instance}/databases/{database}/changelogs/{changelog}:diffSchema \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "schema": "<string>",
  "changelog": "<string>"
}
'
{
  "diff": "<string>"
}

Path Parameters

instance
string
required

The instance id.

database
string
required

The database id.

changelog
string
required

The changelog id.

Body

application/json
name
string
required

The name of the database or changelog. Format: database: instances/{instance}/databases/{database} changelog: instances/{instance}/databases/{database}/changelogs/{changelog}

schema
string

The target schema.

changelog
string

The resource name of the changelog Format: instances/{instance}/databases/{database}/changelogs/{changelog}

Response

OK

diff
string