Querying Evaluation Projects
Function
This API is used to query evaluation projects.
URI
GET /v1/{project_id}/evaluation-projects
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. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
evaluation_project_name |
No |
String |
Evaluation project name (fuzzy search). |
evaluation_project_status |
No |
String |
Evaluation project status. Value:
|
offset |
No |
Integer |
Offset of the pagination query. Minimum value: 0 Maximum value: 99 Default value: 0. |
limit |
No |
Integer |
Number of items displayed per page. Minimum value: 1 Maximum value: 100 Default value: 10 |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token obtained from IAM. |
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
total_count |
Integer |
Total number of evaluation projects. |
evaluation_projects |
Array of Table 5 objects |
Evaluation projects on the current page. |
Parameter |
Type |
Description |
---|---|---|
evaluation_project_id |
Integer |
Evaluation project ID. |
evaluation_project_name |
String |
Evaluation project name. |
evaluation_project_status |
String |
Evaluation project status. |
project_status_detail |
Table 6 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. |
collect_size |
Long |
Size of collected SQL statements, in bytes. |
resource_id |
String |
Resource ID. |
created_time |
String |
Creation time. |
updated_time |
String |
Update time. |
error_reason |
String |
Failure cause. |
Example Request
Querying evaluation projects
GET https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/evaluation-projects?offset=0&limit=2
Example Response
Status code: 200
Request succeeded.
{ "evaluation_projects" : [ { "evaluation_project_id" : 187, "evaluation_project_name" : "ugo_best", "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" : "", "collect_size" : 4623291, "resource_id" : "826c916c-421d-4d9f-a68c-38bc3a9504ad", "created_time" : "2022-06-23T03:34:39Z", "updated_time" : "2022-06-23T03:34:39Z", "error_reason" : "" }, { "evaluation_project_id" : 129, "evaluation_project_name" : "ugo1_best", "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" : "", "collect_size" : 2914875, "resource_id" : "c98da3c4-7afb-4b62-85f3-c8cb5f2393ef", "created_time" : "2022-06-21T06:58:18Z", "updated_time" : "2022-06-21T06:58:18Z", "error_reason" : "" } ], "total_count" : 3 }
Status Codes
Status Code |
Description |
---|---|
200 |
Request succeeded. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot