REST API - progress

vcenter ovf export session: progress

Used by the client to set the progress of download when target is DOWNLOAD_TARGET. Should be called regularly to keep the given export session alive.

Request:

HTTP request

POST https://{server}/rest/com/vmware/vcenter/ovf/export-session/id:{id}?~action=progress

Path Parameters

Name Type Description
Required
id string the export session ID.

Request Body Structure:

{
    "percent"1
}

Request Body Parameters:

Name Type Description
bold = required
percent long download completion status represented as an integer in the range 0-100.

Response:

HTTP Status Code: 200

None

Errors:

HTTP Status Code Type Description
404 not_found if the specified session could not be found.
400 invalid_argument if the provided completion status is less than the current progress or more than 100.
400 not_allowed_in_current_state if the specified session is not in the EXPORT_READY or EXPORT_COMPLETED state.