curl --request GET \
--url https://api.example.com/v1/instances/{instance}/databases/{database}/changelogs{
"changelogs": [
{
"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>",
"taskRun": "<string>",
"version": "<string>",
"revision": "<string>",
"type": "TYPE_UNSPECIFIED"
}
],
"nextPageToken": "<string>"
}Lists migration history for a database. Permissions required: bb.changelogs.list
curl --request GET \
--url https://api.example.com/v1/instances/{instance}/databases/{database}/changelogs{
"changelogs": [
{
"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>",
"taskRun": "<string>",
"version": "<string>",
"revision": "<string>",
"type": "TYPE_UNSPECIFIED"
}
],
"nextPageToken": "<string>"
}The maximum number of changelogs to return. The service may return fewer than this value. If unspecified, at most 10 changelogs will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
A page token, received from the previous call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided must match the call that provided the page token.
CHANGELOG_VIEW_UNSPECIFIED, CHANGELOG_VIEW_BASIC, CHANGELOG_VIEW_FULL Was this page helpful?