All Products
Search
Document Center

Enterprise Distributed Application Service:GetMigrateApplication

Last Updated:Oct 13, 2026

Queries the details of application import and export.

Operation description

Note

For application deployment in a Container Service Kubernetes cluster imported to Enterprise Distributed Application Service (EDAS), use the DeployK8sApplication operation provided by EDAS. For more information, see DeployK8sApplication.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request syntax

GET /pop/v5/k8s/migrateK8sApp HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

migrationType

integer

No

The operation type of the migration task. Valid values: 1: import. 2: export. 3: clone. If this parameter is not specified, all types are returned.

Valid values:

  • 1 :

    1

  • 2 :

    2

  • 3 :

    3

1

regionId

string

No

regionId

cn-hangzhou

migrationId

string

No

The migration ID.

afe9995d-31fd-40ff-a669-c125d76d8267

Response elements

Element

Type

Description

Example

object

Schema of Response

code

integer

The status code.

200

data

object

The response data.

currentPage

integer

The current page number.

4

pageSize

integer

The number of entries per page.

100

result

array<object>

The list of results.

array<object>

The metadata synchronization results.

appDetailState

string

The detailed status of the application.

"{\"a259bc63-c1f4-48ba-89b1-d6a4591e946c\":{\"app_name\":\"prodoam1\",\"cluster_name\":\"hthoamtest\",\"cluster_id\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"error_msg\":\"\",\"is_multilingual_app\":false,\"state\":\"success\",\"clusterId\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"app_id\":\"a259bc63-c1f4-48ba-89b1-d6a4591e946c\",\"logical_region_id\":\"cn-hangzhou\",\"k8sNamespace\":\"default\"},\"c5a258ac-f02d-4035-b59f-cd7f4a34156a\":{\"app_name\":\"testoam1\",\"cluster_name\":\"hthoamtest\",\"cluster_id\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"error_msg\":\"\",\"is_multilingual_app\":false,\"state\":\"success\",\"clusterId\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"app_id\":\"c5a258ac-f02d-4035-b59f-cd7f4a34156a\",\"logical_region_id\":\"cn-hangzhou\",\"k8sNamespace\":\"default\"},\"d132c827-db2f-444e-bc9e-9182d8112806\":{\"app_name\":\"oam1\",\"cluster_name\":\"hthoamtest\",\"cluster_id\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"error_msg\":\"\",\"is_multilingual_app\":false,\"state\":\"success\",\"clusterId\":\"f68945a8-47af-4644-a951-0486d674f26e\",\"app_id\":\"d132c827-db2f-444e-bc9e-9182d8112806\",\"logical_region_id\":\"cn-hangzhou\",\"k8sNamespace\":\"default\"}}"

binaryCleaned

integer

Indicates whether binary resources are cleaned up. Valid values: 0: not cleaned up. 1: cleaned up.

1

createTime

integer

The creation time.

1791512615778

extraInfo

object

The additional information.

appJsonFile

string

appJsonFile

"https://edas-hz-secure.oss-cn-hangzhou.aliyuncs.com/edas-app-migration/1057288613002791/e7c2e7d9-5e87-46a2-99e9-2be0b577a3fd/edas-app.json?Expires=1791517039&OSSAccessKeyId=LTAIWLbjtAGvdMWX&Signature=HyZ2b3u5mlP56T8QgkARwWE5cQc%3D"

errorMsg

string

The error message.

“”

migrationId

string

The migration ID.

"e7c2e7d9-5e87-46a2-99e9-2be0b577a3fd"

migrationType

integer

The operation type of the migration task. Valid values: 1: import. 2: export. 3: clone.

2

owner

string

The executor.

lvwan

regionId

string

regionId

cn-hangzhou

state

string

The application migration status. Valid values: failed: Failed. finished: Succeeded.

finished

statePercent

string

The task progress percentage, stored as a floating-point number. For example, if the API returns 0.33, the progress bar displays 33%.

0.33

updateTime

integer

The update time.

1791512615778

totalSize

integer

The total number of entries.

2

message

string

The response message.

“”

success

boolean

Indicates whether the request was successful.

true

traceId

string

The trace ID.

3b52155517851187240212426d0099

Examples

Success response

JSON format

{
  "code": 200,
  "data": {
    "currentPage": 4,
    "pageSize": 100,
    "result": [
      {
        "appDetailState": "\"{\\\"a259bc63-c1f4-48ba-89b1-d6a4591e946c\\\":{\\\"app_name\\\":\\\"prodoam1\\\",\\\"cluster_name\\\":\\\"hthoamtest\\\",\\\"cluster_id\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"error_msg\\\":\\\"\\\",\\\"is_multilingual_app\\\":false,\\\"state\\\":\\\"success\\\",\\\"clusterId\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"app_id\\\":\\\"a259bc63-c1f4-48ba-89b1-d6a4591e946c\\\",\\\"logical_region_id\\\":\\\"cn-hangzhou\\\",\\\"k8sNamespace\\\":\\\"default\\\"},\\\"c5a258ac-f02d-4035-b59f-cd7f4a34156a\\\":{\\\"app_name\\\":\\\"testoam1\\\",\\\"cluster_name\\\":\\\"hthoamtest\\\",\\\"cluster_id\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"error_msg\\\":\\\"\\\",\\\"is_multilingual_app\\\":false,\\\"state\\\":\\\"success\\\",\\\"clusterId\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"app_id\\\":\\\"c5a258ac-f02d-4035-b59f-cd7f4a34156a\\\",\\\"logical_region_id\\\":\\\"cn-hangzhou\\\",\\\"k8sNamespace\\\":\\\"default\\\"},\\\"d132c827-db2f-444e-bc9e-9182d8112806\\\":{\\\"app_name\\\":\\\"oam1\\\",\\\"cluster_name\\\":\\\"hthoamtest\\\",\\\"cluster_id\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"error_msg\\\":\\\"\\\",\\\"is_multilingual_app\\\":false,\\\"state\\\":\\\"success\\\",\\\"clusterId\\\":\\\"f68945a8-47af-4644-a951-0486d674f26e\\\",\\\"app_id\\\":\\\"d132c827-db2f-444e-bc9e-9182d8112806\\\",\\\"logical_region_id\\\":\\\"cn-hangzhou\\\",\\\"k8sNamespace\\\":\\\"default\\\"}}\"\n",
        "binaryCleaned": 1,
        "createTime": 1791512615778,
        "extraInfo": {
          "appJsonFile": "\"https://edas-hz-secure.oss-cn-hangzhou.aliyuncs.com/edas-app-migration/1057288613002791/e7c2e7d9-5e87-46a2-99e9-2be0b577a3fd/edas-app.json?Expires=1791517039&OSSAccessKeyId=LTAIWLbjtAGvdMWX&Signature=HyZ2b3u5mlP56T8QgkARwWE5cQc%3D\"\n",
          "errorMsg": "“”"
        },
        "migrationId": "\"e7c2e7d9-5e87-46a2-99e9-2be0b577a3fd\"\n",
        "migrationType": 2,
        "owner": "lvwan",
        "regionId": "cn-hangzhou",
        "state": "finished",
        "statePercent": "0.33",
        "updateTime": 1791512615778
      }
    ],
    "totalSize": 2
  },
  "message": "“”",
  "success": true,
  "traceId": "3b52155517851187240212426d0099"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.