该接口用于根据数据迁移或数据同步项目的 ID 查询项目的修改记录。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Id | string | 是 | 数据迁移或数据同步项目的 ID。 | np_598jmu**** |
返回参数
示例
正常返回示例
JSON
格式
{
"Success": true,
"ErrorDetail": {
"Code": "INNER_ERROR",
"Level": "ERROR",
"Message": "A system error occurred.\n",
"ExtraContext": {
"key": "null"
},
"MessageMcmsKey": "null",
"MessageMcmsContext": {
"key": "null"
},
"Reason": "null",
"ReasonMcmsKey": "null",
"ReasonMcmsContext": {
"key": "null"
},
"Proposal": "Contact the administrator. ",
"ProposalMcmsKey": "null",
"ProposalMcmsContext": {
"key": "null"
},
"UpstreamErrorDetail": "null"
},
"Code": "INNER_ERROR",
"Message": "A system error occurred.\n",
"Advice": "Contact the administrator. ",
"RequestId": "EE205C00-30E4-XXXX-XXXX-87E3A8A2AA0C",
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"Cost": "30",
"Data": [
{
"Id": 344000005,
"SubProjectId": "np_598qm***",
"MergeRequestId": 0,
"UpdateRequestId": 0,
"Type": "INCREASE_OBJECT",
"Status": "PENDING",
"ErrorDetail": {
"Code": "INNER_ERROR",
"Level": "ERROR",
"Message": "A system error occurred.\n",
"ExtraContext": {
"key": "null"
},
"MessageMcmsKey": "null",
"MessageMcmsContext": {
"key": "null"
},
"Reason": "null",
"ReasonMcmsKey": "null",
"ReasonMcmsContext": {
"key": "null"
},
"Proposal": "null",
"ProposalMcmsKey": "null",
"ProposalMcmsContext": {
"key": "null"
},
"UpstreamErrorDetail": "null"
},
"Databases": [
{
"MappedName": "mapped_db",
"Name": "db_name",
"Id": "db_id",
"Tables": [
{
"MappedName": "mapped_name",
"Name": "table_name",
"Id": "table_id",
"WhereClause": "id < 1",
"FilterColumns": [
"col"
],
"ShardColumns": [
"col1"
],
"Columns": [
{
"ColumnName": "col_name",
"MappedName": "mapped_col",
"Position": 0,
"ColumnType": "FLOAT",
"RecordFieldType": "INT8",
"RawColumnType": "null",
"ColumnKey": "PRI",
"Nullable": true,
"DefaultValue": "null",
"DataLength": 0,
"DataPrecision": 64,
"DataScale": 0,
"Encoding": "utf8",
"ColumnComment": "comments",
"IsGenerateField": false,
"Type": "DATABASE"
}
],
"AdbTableSchema": {
"PrimaryKeys": [
"pk"
],
"DistributedKeys": [
"col2"
],
"PartitionStatement": "PARTITION BY VALUE('id')",
"PartitionLifeCycle": 30
}
}
],
"Views": [
{
"MappedName": "mapped_view",
"Name": "table_name",
"Id": "table_id",
"WhereClause": "id<1",
"FilterColumns": [
"col"
],
"ShardColumns": [
"col1"
],
"Columns": [
{
"ColumnName": "col_name",
"MappedName": "mapped_name",
"Position": 0,
"ColumnType": "FLOAT",
"RecordFieldType": "INT8",
"RawColumnType": "null",
"ColumnKey": "PRI",
"Nullable": false,
"DefaultValue": "null",
"DataLength": 0,
"DataPrecision": 64,
"DataScale": 0,
"Encoding": "utf16",
"ColumnComment": "comments",
"IsGenerateField": false,
"Type": "DATABASE"
}
],
"AdbTableSchema": {
"PrimaryKeys": [
"pk"
],
"DistributedKeys": [
"col2"
],
"PartitionStatement": "PARTITION BY VALUE('id')",
"PartitionLifeCycle": 30
}
}
],
"SpecificTables": [
{
"MappedName": "mapped_name",
"Name": "table_name",
"Id": "table_id",
"WhereClause": "id<3",
"FilterColumns": [
"col"
],
"ShardColumns": [
"col2"
],
"Columns": [
{
"ColumnName": "col_name",
"MappedName": "mapped_name",
"Position": 0,
"ColumnType": "FLOAT",
"RecordFieldType": "INT8",
"RawColumnType": "null",
"ColumnKey": "PRI",
"Nullable": false,
"DefaultValue": "null",
"DataLength": 0,
"DataPrecision": 64,
"DataScale": 0,
"Encoding": "utf16",
"ColumnComment": "comments",
"IsGenerateField": false,
"Type": "DATABASE"
}
],
"AdbTableSchema": {
"PrimaryKeys": [
"pk"
],
"DistributedKeys": [
"col2"
],
"PartitionStatement": "PARTITION BY VALUE('id')",
"PartitionLifeCycle": 30
}
}
],
"SpecificViews": [
{
"MappedName": "mapped_name",
"Name": "table_name",
"Id": "table_id",
"WhereClause": "id < 1",
"FilterColumns": [
"col1"
],
"ShardColumns": [
"col2"
],
"Columns": [
{
"ColumnName": "col_name",
"MappedName": "mapped_name",
"Position": 0,
"ColumnType": "FLOAT",
"RecordFieldType": "INT8",
"RawColumnType": "null",
"ColumnKey": "PRI",
"Nullable": true,
"DefaultValue": "null",
"DataLength": 0,
"DataPrecision": 64,
"DataScale": 0,
"Encoding": "utf16",
"ColumnComment": "comments",
"IsGenerateField": false,
"Type": "DATABASE"
}
],
"AdbTableSchema": {
"PrimaryKeys": [
"pk"
],
"DistributedKeys": [
"col2"
],
"PartitionStatement": "PARTITION BY VALUE('id')",
"PartitionLifeCycle": 30
}
}
]
}
],
"MigrationObjectsInfo": {
"WildcardMode": true,
"Tables": [
{
"Schema": "schema_name",
"Name": "table_name"
}
],
"TablesBlack": [
{
"Schema": "schema_name",
"Name": "table_name"
}
],
"Views": [
{
"Schema": "schema_name",
"Name": "view_name"
}
],
"ViewsBlack": [
{
"Schema": "schema_name",
"Name": "view_name"
}
]
},
"OmsProjectMappingInfo": {
"SchemaMappings": [
{
"SourceName": "source_name",
"DestName": "mapped_schema"
}
],
"TableMappings": [
{
"SourceSchema": "source_schema",
"SourceName": "source_name",
"DestName": "dest_name"
}
],
"ColumnMappings": [
{
"SourceSchema": "source_schema",
"SourceTable": "source_table",
"SourceName": "source_name",
"DestName": "dest_name"
}
],
"ViewMappings": [
{
"SourceSchema": "schema_name",
"SourceName": "source_name",
"DestName": "dest_name"
}
]
},
"TableEtlList": [
{
"TenantName": "tenant_name",
"Database": "db_name",
"DestDatabase": "dest_db",
"TableName": "table_name",
"DestName": "dest_name",
"WhereClause": "id>1",
"FilterColumns": [
"col"
],
"ShardColumns": [
"null"
],
"LogicTableId": "null",
"SourceEndpointId": "null"
}
],
"GmtModified": "2023-07-13T06:26:15"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
变更时间 | 变更内容概要 | 操作 |
---|
暂无变更历史