REST API - get

vcenter ovf capability: get

Returns information about the capability of the given vCenter server.

Request:

HTTP request

GET https://{server}/rest/com/vmware/vcenter/ovf/capability/id:{server_guid}

Path Parameters

Name Type Description
Required
server_guid string Target vCenter server GUID.

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "import_ova"true,
        "export_ova"true
    }
}

Response Type:

Name Type Description
bold = required
value capability_info CapabilityInfo of the given server.
value.import_ova boolean Boolean flag to show whether or not import OVA template is supported.

value.export_ova boolean Boolean flag to show whether or not export OVA template is supported.

Errors:

HTTP Status Code Type Description
400 invalid_argument If the given vCenter server GUID is invalid, or does not match available vCenter servers.