GET
/
v1
/
instances
/
{instance}
/
databases
/
{database}
/
changelogs
/
{changelog}
{
  "name": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "status": "STATUS_UNSPECIFIED",
  "statement": "<string>",
  "statementSize": "<string>",
  "statementSheet": "<string>",
  "schema": "<string>",
  "schemaSize": "<string>",
  "prevSchema": "<string>",
  "prevSchemaSize": "<string>",
  "issue": "<string>",
  "taskRun": "<string>",
  "version": "<string>",
  "revision": "<string>",
  "changedResources": {
    "databases": [
      {
        "name": "<string>",
        "schemas": [
          {
            "name": "<string>",
            "tables": [
              {
                "name": "<string>",
                "tableRows": "<string>",
                "ranges": [
                  {
                    "start": 123,
                    "end": 123
                  }
                ]
              }
            ],
            "views": [
              {
                "name": "<string>",
                "ranges": [
                  {
                    "start": 123,
                    "end": 123
                  }
                ]
              }
            ],
            "functions": [
              {
                "name": "<string>",
                "ranges": [
                  {
                    "start": 123,
                    "end": 123
                  }
                ]
              }
            ],
            "procedures": [
              {
                "name": "<string>",
                "ranges": [
                  {
                    "start": 123,
                    "end": 123
                  }
                ]
              }
            ]
          }
        ]
      }
    ]
  },
  "type": "TYPE_UNSPECIFIED"
}

Path Parameters

instance
string
required

The instance id.

database
string
required

The database id.

changelog
string
required

The changelog id.

Query Parameters

view
enum<string>
Available options:
CHANGELOG_VIEW_UNSPECIFIED,
CHANGELOG_VIEW_BASIC,
CHANGELOG_VIEW_FULL
sdlFormat
boolean

Format the schema dump into SDL format.

Response

200
application/json

OK

The response is of type object.