Querying the Verification Progress
Function
This API is used to query the verification progress.
URI
GET /v1/{project_id}/migration-projects/{migration_project_id}/verification-progress
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. |
migration_project_id |
Yes |
String |
Migration project ID. |
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_objects_count |
Integer |
Total number of objects. |
completed_objects_count |
Integer |
Number of objects that have been migrated. |
objects_list |
Array of Table 4 objects |
Objects to be migrated. |
Parameter |
Type |
Description |
---|---|---|
object_type |
String |
Object type. |
total_count |
Long |
Total number of objects of this type. |
succeed_count |
Long |
Number of objects that were migrated. |
failed_count |
Long |
Number of objects that failed to be migrated. |
ignored_count |
Long |
Number of ignored objects. |
manual_count |
Long |
Number of objects that need to be manually modified. |
success_rate |
String |
Success rate. |
Example Request
Obtaining the migration progress.
POST https://{endpoint}/v1/0ac6eb2c8000d2ee2fd9c006dededbe6/migration-projects/221/verification-progress
Example Response
Status code: 200
Request succeeded.
{ "total_objects_count" : 6, "completed_objects_count" : 4, "objects_list" : [ { "object_type" : "FUNCTION", "total_count" : 4, "succeed_count" : 3, "failed_count" : 1, "ignored_count" : 0, "manual_count" : 0, "success_rate" : "75.00%" }, { "object_type" : "GRANT", "total_count" : 2, "succeed_count" : 0, "failed_count" : 0, "ignored_count" : 0, "manual_count" : 0, "success_rate" : "0.00%" } ] }
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