POST
/
v1
/
instances
/
{instance}
/
databases
/
{database}
/
changelogs
/
{changelog}
:diffSchema
{
  "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}

sdlFormat
boolean

Format the schema dump into SDL format.

Response

OK

diff
string