Help Center/ Database and Application Migration UGO/ API Reference/ API/ Evaluation Project/ Querying the Status of an Evaluation Project
Updated on 2023-05-29 GMT+08:00

Querying the Status of an Evaluation Project

Function

This API is used to query the status of an evaluation project.

URI

GET /v1/{project_id}/evaluation-projects/{evaluation_project_id}/status

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID of a tenant in a region.

For details about how to obtain the project ID, see Obtaining a Project ID.

evaluation_project_id

Yes

String

Evaluation project ID.

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token obtained from IAM.

Response Parameters

Status code: 200

Table 3 Response body parameters

Parameter

Type

Description

evaluation_project_id

Integer

Evaluation project ID.

evaluation_project_name

String

Evaluation project name.

evaluation_project_status

String

Evaluation project status.

Value:

  • COMPLETED
  • WAITING
  • PENDING
  • FAILED
  • STOPPED

project_status_detail

Table 4 object

Details about the evaluation project status.

source_db_type

String

Source database type.

source_db_version

String

Source database version.

target_db_type

String

Target database type.

target_db_version

String

Target database version.

Table 4 ProjectStatusDetail

Parameter

Type

Description

object_collection_status

String

Collection status.

object_collection_progress

String

Collection progress.

pre_migration_status

String

Evaluation status.

pre_migration_progress

String

Evaluation progress.

Example Request

GET https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/evaluation-projects/230/status

Example Response

Status code: 200

Request succeeded.

{ 
  "evaluation_project_id" : 230, 
  "evaluation_project_name" : "best_UGO", 
  "evaluation_project_status" : "PENDING", 
  "project_status_detail" : { 
    "object_collection_status" : "COMPLETED", 
    "pre_migration_status" : "COMPLETED" 
  }, 
  "source_db_type" : "ORACLE", 
  "source_db_version" : "11g", 
  "target_db_version" : "" 
}

Status Codes

Status Code

Description

200

Request succeeded.

Error Codes

For details, see Error Codes.