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

Querying Details About an Evaluation Project

Function

This API is used to query details about an evaluation project.

URI

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

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

source_db_size

String

Database size.

source_db_schema

Long

Number of schemas in the database.

source_db_cpu

String

Number of vCPUs of the database.

source_db_character_set

String

Character set.

source_db_os

String

Database OS.

source_db_instance_num

Integer

Number of instances.

source_db_ram

String

Memory of the database.

source_db_info

Table 4 object

Source database information.

source_db_phy_ram

String

Physical RAM of the database.

source_db_version

String

Database version.

source_db_conf

String

Database configurations.

source_db_clock

String

Time zone of the database.

evaluation_project_id

Integer

Evaluation project ID.

evaluation_project_name

String

Evaluation project name.

Table 4 SourceDB

Parameter

Type

Description

user_name

String

Username.

connection_string

String

Connection string.

source_db_type

String

Source database type.

service_name

String

Service name.

ip

String

IP address.

port

String

Port.

Example Request

Obtaining details of an evaluation project

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

Example Response

Status code: 200

Request succeeded.

{ 
  "evaluation_project_id" : 230, 
  "evaluation_project_name" : "best_UGO", 
  "source_db_size" : "0.094 TB", 
  "source_db_schema" : 39, 
  "source_db_cpu" : "2", 
  "source_db_character_set" : "ZHS16GBK", 
  "source_db_os" : "Linux x86 64-bit", 
  "source_db_instance_num" : 1, 
  "source_db_ram" : "SGA 0.99 GB, PGA 0.2 GB, AMM", 
  "source_db_info" : { 
    "user_name" : "ugo", 
    "connection_string" : "100.xx.xxx.xxx:1521:ORCL", 
    "source_db_type" : "ORACLE", 
    "service_name" : "orcl", 
    "ip" : null, 
    "port" : "null" 
  }, 
  "source_db_phy_ram" : "7.62 GB", 
  "source_db_version" : "11.2.0.1.0", 
  "source_db_conf" : "Single Instance", 
  "source_db_clock" : "+00:00" 
}

Status Codes

Status Code

Description

200

Request succeeded.

Error Codes

For details, see Error Codes.