Using the Migration API v1.3

The Migration API is a crucial tool for automating your database migration tasks. It allows you to programmatically manage and monitor migrations, offering a powerful way to integrate migration workflows into your existing CI/CD pipelines or automated scripts. Instead of manually navigating the UI, you can use the API to manage your migration projects, view the detailed schema reports, data migration status and many more administrative tasks.

This API is designed for developers, DevOps engineers, and DBAs who need a scalable and automated way to handle a large number of migrations or integrate them into broader automation strategies.

The Hybrid Manager platform provides a broader set of APIs to support end-to-end database migration—including assessment, schema conversion, and data migration—even though only a subset is illustrated in the current Examples section.

Examples

Create Migration Portal Project

This API endpoint is used to create a new migration project within the Migration Portal. It's a POST request that sends a JSON payload to define the project's properties and configurations.

  • Path /api/v1/projects/prj_LTIfqp81u6MslAk4/migration-portal-project
  • Method POST

URL Path Parameters:

  • prj_LTIfqp81u6MslAk4 The unique identifier for the project's scope.
Request Body:
{
	"projectId": "prj_LTIfqp81u6MslAk4",
	"resourceId": "oracleSource",
	"schemaIds": [
		"cea06ec8-8641-4dff-9631-4b19fcba5212",
		"5770b6fa-295c-40af-bd02-1acbe02c9eb6"
	],
	"mpProjectName": "my_project_name",
	"applicationInterface": "JDBC",
	"targetDbVersion": "EPAS_17",
	"useUniqueSchemaObjectSuffixes": true,
	"useOracleDefaultCase": true,
	"assessDefaultProfile": true,
	"description": "My Project Description (Optional)"
}

Request Body Description:

  • projectId The unique identifier of the project in the Hybrid Manager.
  • resourceId The unique identifier for the source database (e.g., oracleSource).
  • schemaIds An array of unique IDs for the schemas you want to include in the migration project.
  • mpProjectName The custom name you want to assign to the new Migration Portal project.
  • applicationInterface The type of interface used to connect to the source database (e.g., JDBC, ODBC, .NET, OCI, ProC, Other).
  • targetDbVersion The version of the target database you're migrating to (e.g., EPAS_17 for EDB Postgres Advanced Server version 17).
  • useUniqueSchemaObjectSuffixes A boolean value that, when set to true, ensures that object names in the target schema will have unique suffixes to avoid conflicts.
  • useOracleDefaultCase A boolean value that, when set to true, respects Oracle's default behavior of using uppercase for object names.
  • assessDefaultProfile A boolean value that, when set to true, includes the default profile in the assessment.
  • description A custom, optional description for the migration project.

Delete Migration Portal Project

This API endpoint deletes an existing migration project from the Migration Portal. It's a DELETE request that targets the specific project by its ID.

  • Path /api/v1/projects/prj_LTIfqp81u6MslAk4/migration-portal-project/42
  • Method DELETE

URL Path Parameters:

  • prj_LTIfqp81u6MslAk4 The unique identifier for the project's scope.
  • 42 The unique ID of the specific migration portal project you want to delete. This ID is assigned after the project is successfully created.